Profiler vs stopwatch timer functions
Ältere Kommentare anzeigen
Hello everyone !
I have just finished optimizing a code and I'd like to know the reason why there's a difference between the 'elapsed time' returned by the tic and toc timers (respectively put at the beginning and the end of my code) and the result printed by the profiler. For instance, why do I have 17 seconds for the 'elapsed time' and 27 seconds with the profiler ?
I also specify that nothing runs in the background of my system.
Thanks a lot !
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Problem-Based Optimization Setup finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!