1 // Timing measurement utilities.
3 #ifndef JERASURE_INCLUDED__TIMING_H
4 #define JERASURE_INCLUDED__TIMING_H
6 // Define USE_CLOCK to use clock(). Otherwise use gettimeofday().
23 // Get the current time as a double in seconds.
28 // Set *t to the current time.
33 // Get *t as a double in seconds.
38 // Return *t2 - *t1 as a double in seconds.