Changeset 52822 in vbox for trunk/src/VBox/Runtime/r3/haiku
- Timestamp:
- Sep 23, 2014 10:25:34 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96224
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/haiku/time-haiku.cpp
r45356 r52822 5 5 6 6 /* 7 * Copyright (C) 2012-201 3Oracle Corporation7 * Copyright (C) 2012-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 44 44 DECLINLINE(uint64_t) rtTimeGetSystemNanoTS(void) 45 45 { 46 return (uint64_t)system_time() * 1000;46 return (uint64_t)system_time() * RT_NS_1US; 47 47 } 48 48 … … 72 72 RTDECL(uint64_t) RTTimeSystemMilliTS(void) 73 73 { 74 return rtTimeGetSystemNanoTS() / 1000000;74 return rtTimeGetSystemNanoTS() / RT_NS_1MS; 75 75 } 76 76 … … 83 83 return VINF_SUCCESS; 84 84 } 85
Note:
See TracChangeset
for help on using the changeset viewer.