37    GetSystemTimeAsFileTime( &now );
 
   38    uint64_t t = ( 
UINT64( now.dwHighDateTime ) << 32 ) + now.dwLowDateTime;
 
   44#elif defined( HAVE_CLOCK_GETTIME ) 
   52    clock_gettime( CLOCK_MONOTONIC, &now );
 
   54    int64_t usecs = (int64_t) now.tv_sec * 1000000 + now.tv_nsec / 1000;
 
   61#elif defined( HAVE_GETTIMEOFDAY_FUNC ) 
   68    gettimeofday( &tv, 0 );
 
   70    return (int64_t) tv.tv_sec * 1000000 + tv.tv_usec;
 
int64_t GetRunningMicroSecs()
An alternate way to calculate an elapsed time (in microsecondes) to class PROF_COUNTER.