Changeset 9239 in vbox for trunk/src/VBox
- Timestamp:
- May 29, 2008 10:22:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
r9237 r9239 170 170 { 171 171 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 16) 172 ktime_t Kt = ktime_get_real();173 struct timespec Ts = ktime_to_timespec(Kt);172 struct timespec Ts; 173 ktime_get_real_ts(&Ts); 174 174 return RTTimeSpecSetTimespec(pTime, &Ts); 175 175
Note:
See TracChangeset
for help on using the changeset viewer.