High Accuracy Timer

High-resolution performance counter

您现在正在关注此提交

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

引用格式

Ivo Houtzager (2026). High Accuracy Timer (https://ww2.mathworks.cn/matlabcentral/fileexchange/16534-high-accuracy-timer), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.2.0.0

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

1.0.0.0