AnsweredAssumed Answered

MBDT blocks for measuring Idle Time or ProcessorLoad

Question asked by Chris Catto on Jun 23, 2020
Latest reply on Jun 29, 2020 by Constantin Razvan Chivu

Is there any documentation page that explains how to place a block in MBDT that measures Idle Time or Processor Load?


I can see this article(s) ; ;

but that doesn’t give many details for a Simulink implementation. I looked for an Idle Counter block but have not seen one so far. However I can see a Profiler block so I am thinking that I could use that if all of my code (for the moment) runs in a single task.


I'm aiming to check how hard I’m pushing the processor with what I’ve implemented so far, and how much difference I can make by slowing down the task.  :-)  Generally I try to stay within 75% ProcLoad.