CPU Cycles Count for Simulink Model

1 visualización (últimos 30 días)
Zimran
Zimran el 23 de Jul. de 2012
How can I calculate the number of CPU cycles used during one run of a Simulink Model.
  1 comentario
K E
K E el 24 de Jul. de 2012
The comments in this answer include some tips on tracking memory consumption. Surprising to me, it is not straightforward.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 24 de Jul. de 2012
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

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by