CPU Cycles Count for Simulink Model

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 日

1 投票

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

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2012 年 7 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by