Diff for /libelwix/src/time.c between versions 1.5.72.1 and 1.5.72.2

version 1.5.72.1, 2022/12/01 19:50:46 version 1.5.72.2, 2022/12/01 19:56:58
Line 288  time_rdtsc(void) Line 288  time_rdtsc(void)
         struct timespec ts = { 0, 0LL };          struct timespec ts = { 0, 0LL };
   
 #ifndef CLOCK_UPTIME_PRECISE  #ifndef CLOCK_UPTIME_PRECISE
        clock_gettime(CLOCK_MONOTONIC, &ts);#define CLOCK_UPTIME_PRECISE   CLOCK_MONOTONIC
#else 
        clock_gettime(CLOCK_UPTIME_PRECISE, &ts); 
 #endif  #endif
           clock_gettime(CLOCK_UPTIME_PRECISE, &ts);
   
         return ((uint64_t) ts.tv_sec * 1000000000 + ts.tv_nsec);          return ((uint64_t) ts.tv_sec * 1000000000 + ts.tv_nsec);
 #endif  #endif
 }  }

Removed from v.1.5.72.1  
changed lines
  Added in v.1.5.72.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>