High Accuracy Timer

High-resolution performance counter

Vous suivez désormais cette soumission

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

Citation pour cette source

Ivo Houtzager (2026). High Accuracy Timer (https://fr.mathworks.com/matlabcentral/fileexchange/16534-high-accuracy-timer), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : Simulink Block for Real Time Execution

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.2.0.0

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

1.0.0.0