CPU Cycles Count for Simulink Model

1 回表示 (過去 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 Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by