What is the best way to time a code section with high resolution and portability?
/* Time from here */ ProcessIntenseFunction(); /* to here. */ printf(\"Tim
gettimeofday will return time accurate to microseconds within the resolution of the system clock. You might also want to check out the High Res Timers project on SourceForge.