- There could be overhead time which the profiler does not attribute to any specific part of the model. This includes time spent to run the profiler itself.
- The profiler might use sampling techniques to estimate the time spent in different parts of the model. This can lead to inaccuracies since not every execution cycle is measured.
How good is the accuracy of the Simulink profiler?
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I am dealing with runtime analysis in my Simulink model. I am using Matlab v2019b and I couldn't find detail information on the simulink profiler for this Matlab version.
I would be interesterd in having more details about how accurate it is, as summation to 100% in some cases seems to not be met. For instance the picture depicts the function Outputs.Major of one subsystem I have in my model. The total time spent is 218s but in the partial list below I cannot sum to 218s. That is why I am confused.
Thank you for any help you can provide.
Bests
0 个评论
回答(1 个)
Satwik
2024-2-21
By looking at the part of the report image provided, it is not clear whether you are looking at the summary or the detailed report, of the profiler. Please ensure you look at the detailed report.
Assuming the discrepancy is in the detailed report, since, I do not have access to the specific details of your model, I cannot state the exact reason for the discrepancy you are observing. But few common reasons why this may have happened could be -
For more details about the Simulink Profiler, its usage and report details, you may refer to this documentation: https://www.mathworks.com/help/releases/R2019b/simulink/ug/how-profiler-captures-performance-data.html.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manual Performance Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!