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 CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by