Changeset 52822 in vbox for trunk/src/VBox/Runtime/r0drv/haiku
- Timestamp:
- Sep 23, 2014 10:25:34 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 96224
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/haiku/time-r0drv-haiku.c
r43403 r52822 5 5 6 6 /* 7 * Copyright (C) 2012 Oracle Corporation7 * Copyright (C) 2012-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 39 39 DECLINLINE(uint64_t) rtTimeGetSystemNanoTS(void) 40 40 { 41 return system_time() * 1000;41 return system_time() * RT_NS_1US; 42 42 } 43 43 … … 45 45 DECLINLINE(uint64_t) rtTimeGetSystemMilliTS(void) 46 46 { 47 return system_time() / 1000;47 return system_time() / RT_NS_1US; 48 48 } 49 49 … … 75 75 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) 76 76 { 77 return RTTimeSpecSetNano(pTime, real_time_clock_usecs() * 1000);77 return RTTimeSpecSetNano(pTime, real_time_clock_usecs() * RT_NS_1US); 78 78 } 79 79
Note:
See TracChangeset
for help on using the changeset viewer.