CPU Cycles Count for Simulink Model

How can I calculate the number of CPU cycles used during one run of a Simulink Model.

1 Kommentar

K E
K E am 24 Jul. 2012
The comments in this answer include some tips on tracking memory consumption. Surprising to me, it is not straightforward.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 24 Jul. 2012

1 Stimme

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

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Jul. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by