Does anyone know how accurate the code execution profiling is running in SIL mode?
1 次查看(过去 30 天)
显示 更早的评论
I have been trying to run some general code execution profiling on my PC (i7-8850 @ 2.6GHz) to try out some code generation optimizations. The measured execution times seem to be inconsistent at best when comparing multiple runs. Does anyone know of any documentation that specifies how accurate the execution times can be expected to be run to run or any best practices to get an accurate setup? I have seen the average time be as much as 20% different, the max time is pretty much completely worthless. The model setup is running the same inputs each time. I have tried short and long runs to try and smooth out the average. I am trying to gauge how useful this tool might be or if I should not waste my time on it and spend the extra time to run the code on the real HW (PIL is not an option). All thoughts and comments are welcome. Thanks!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!