High Accuracy Timer

High-resolution performance counter
4K descargas
Actualizado 11 Jul 2015

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2012b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Clocks and Timers en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: 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!

Versión Publicado Notas de la versión
1.2.0.0

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

1.0.0.0