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

질문:

2012년 7월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by