High Accuracy Timer

High-resolution performance counter
4,1K download
Aggiornato 11 lug 2015

Visualizza la licenza

Uses the high-resolution performance counter to get the time which exceeds one microsecond accuracy.
time = hat;
% do some calculations
diff = hat - time;

Cita come

Ivo Houtzager (2025). High Accuracy Timer (https://it.mathworks.com/matlabcentral/fileexchange/16534-high-accuracy-timer), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Clocks and Timers in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Simulink Block for Real Time Execution

Community Treasure Hunt

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

Start Hunting!

Versione Pubblicato Note della release
1.2.0.0

more thread safe
Added Linux support using the POSIX high-resolution performance counter

1.0.0.0