Changeset 52822 in vbox for trunk/src/VBox/Runtime/r0drv/freebsd
- Timestamp:
- Sep 23, 2014 10:25:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/time-r0drv-freebsd.c
r18972 r52822 43 43 struct timespec tsp; 44 44 nanouptime(&tsp); 45 return tsp.tv_sec * UINT64_C(1000000000)45 return tsp.tv_sec * RT_NS_1SEC_64 46 46 + tsp.tv_nsec; 47 47 } … … 50 50 RTDECL(uint64_t) RTTimeMilliTS(void) 51 51 { 52 return RTTimeNanoTS() / 1000;52 return RTTimeNanoTS() / RT_NS_1MS; 53 53 } 54 54 … … 72 72 return RTTimeSpecSetTimespec(pTime, &tsp); 73 73 } 74
Note:
See TracChangeset
for help on using the changeset viewer.