フィルターのクリア

How can I get a better accuracy/precision in the timing obtained from TIC/TOC in MATLAB 7.0.1(R14SP1)?

4 ビュー (過去 30 日間)
I would like the time obtained from TIC/TOC on Windows and Linux platforms to have better precision.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
The accuracy in the output of TIC/TOC has been improved for MATLAB 7.0.1(R14SP1) and later versions for the Windows and Linux(glnx86) platforms. The builtin functions TIC and TOC have been rewritten to improve the performance and accuracy on all platforms.
MATLAB 7.0.1(R14SP1) and later versions, now use the CPU cycle counter on Windows and Linux to evaluate the timing results. For example, on a 2.8 GHz, Windows XP (Service Pack 2) machine, TIC/TOC returns an accuracy of 1.117460e-006 sec, in MATLAB 7.0.4 (R14SP2).

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by