CPU Cycles Count for Simulink Model
1 view (last 30 days)
Show older comments
How can I calculate the number of CPU cycles used during one run of a Simulink Model.
1 Comment
K E
on 24 Jul 2012
The comments in this answer include some tips on tracking memory consumption. Surprising to me, it is not straightforward.
Answers (1)
Walter Roberson
on 24 Jul 2012
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!