Azzera filtri
Azzera filtri

Simulink profiler timing problem

1 visualizzazione (ultimi 30 giorni)
Craig
Craig il 25 Ott 2014
Risposto: Sandip Kumar il 27 Ott 2014
Hello,
I have Show Profiler Report selected in Simulink 2013b
The simulink profiler is giving total recorded times in the order of 6 times longer than what i'm measuring using my watch.
What's going on?
Many thanks,
Craig

Risposte (1)

Sandip Kumar
Sandip Kumar il 27 Ott 2014
First time when you run a model in Accelerator mode, and have profiler on, the report also includes the build of the model into an executable (i.e., the MEXW64 file). Probably this is the reason you are witnessing high recorded time compared to actual simulation of the model.
One way to quickly check is, to re-run the model (which already has the accelerator mode file present modelName_acc.mexw64 in the path). This time the profiler will show lower recorded time.
Some of the other ways of improving Accelerator mode performance is captured here:
Thanks, Sandip

Categorie

Scopri di più su Multicore Processor Targets in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by