High Accuracy Timer

版本 1.2.0.0 (2.1 KB) 作者: Ivo Houtzager
High-resolution performance counter
4.0K 次下载
更新时间 2015/7/11

查看许可证

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 (2024). High Accuracy Timer (https://www.mathworks.com/matlabcentral/fileexchange/16534-high-accuracy-timer), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Clocks and Timers 的更多信息

Community Treasure Hunt

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

Start Hunting!

版本 已发布 发行说明
1.2.0.0

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

1.0.0.0