Time the execution

Use the CPU() function for timing.
long ll_start, ll_elapsed
ll_Start = CPU ( )
/*
**your code to time test
*/
ll_elapsed = CPU ( ) - ll_start



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2010
[ home ]