High Accuracy Timer

High-resolution performance counter

Al momento, stai seguendo questo contributo

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 (2026). High Accuracy Timer (https://it.mathworks.com/matlabcentral/fileexchange/16534-high-accuracy-timer), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato: Simulink Block for Real Time Execution

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.2.0.0

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

1.0.0.0