CPU Cycles Count for Simulink Model
3 次查看(过去 30 天)
显示 更早的评论
How can I calculate the number of CPU cycles used during one run of a Simulink Model.
1 个评论
K E
2012-7-24
The comments in this answer include some tips on tracking memory consumption. Surprising to me, it is not straightforward.
回答(1 个)
Walter Roberson
2012-7-24
See http://stackoverflow.com/questions/138932/how-do-i-obtain-cpu-cycle-count-in-win32 -- but it looks like on a multi-core or hyperthreaded machine that the result will only be at best approximate
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!