9 gettimeofday(&tv, NULL);
15 gettimeofday(&tv, NULL);
21 time_t deltaSec = stopSec - startSec;
22 suseconds_t deltaUsec = stopUs - startUs;
28 return double(deltaSec) + double(deltaUsec)/1000000.0;
32 time_t deltaSec = stopSec - startSec;
33 suseconds_t deltaUsec = stopUs - startUs;
39 return u_int64_t(deltaSec) * 1000000ull + deltaUsec;
43 time_t startSec, stopSec;
44 suseconds_t startUs, stopUs;