CPU Cycles Count for Simulink Model

1 view (last 30 days)
Zimran
Zimran on 23 Jul 2012
How can I calculate the number of CPU cycles used during one run of a Simulink Model.
  1 Comment
K E
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.

Sign in to comment.

Answers (1)

Walter Roberson
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

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!