The clock() Function Standard

The clock() function now follows the ANSI/ISO standard of returning CPU time. This differs from Microsoft Windows clock() which returns wall time. Elapsed time checks should now use the more accurate THR_BeginTiming and THR_UpdateTiming APIs. Although these APIs existed in PPO, clock() on the PSG and K5 behaved like Windows, returning wall time instead of CPU time.

NOTE   For best practice, use the THR_BeginTiming and THR_UpdateTiming APIs to perform elapsed time checks.