CPU Cycles Count for Simulink Model

3 次查看(过去 30 天)
Zimran
Zimran 2012-7-23
How can I calculate the number of CPU cycles used during one run of a Simulink Model.
  1 个评论
K E
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
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

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by