Changeset 1728 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 27, 2007 12:09:49 PM (18 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/init.cpp
r1710 r1728 40 40 #include <iprt/string.h> 41 41 #include <iprt/param.h> 42 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)42 #ifndef IN_GUEST 43 43 # include <iprt/file.h> 44 44 # include <VBox/sup.h> … … 101 101 /* no entry log flow, because prefixes and thread may freak out. */ 102 102 103 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)103 #ifndef IN_GUEST 104 104 # ifdef VBOX 105 105 /* … … 117 117 } 118 118 # endif /* VBOX */ 119 #endif /* !IN_GUEST and !IN_GUEST_R3*/119 #endif /* !IN_GUEST */ 120 120 121 121 /* … … 131 131 } 132 132 133 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)133 #ifndef IN_GUEST 134 134 if (fInitSUPLib) 135 135 { … … 148 148 g_u64ProgramStartMilliTS = RTTimeMilliTS(); 149 149 150 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)150 #ifndef IN_GUEST 151 151 /* 152 152 * The threading is initialized we can safely sleep a bit if GIP -
trunk/src/VBox/Runtime/timesup.cpp
r1710 r1728 36 36 * Global Variables * 37 37 *******************************************************************************/ 38 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)38 #ifndef IN_GUEST 39 39 /** The previously returned nano TS. 40 40 * This handles TSC drift on SMP systems and expired interval. … … 63 63 DECLINLINE(uint64_t) rtTimeNanoTSInternal(void) 64 64 { 65 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)65 #ifndef IN_GUEST 66 66 uint64_t u64Delta; 67 67 uint32_t u32NanoTSFactor0; … … 202 202 203 203 return u64; 204 #else /* IN_GUEST || IN_GUEST_R3*/204 #else /* IN_GUEST */ 205 205 return RTTimeSystemNanoTS(); 206 #endif /* IN_GUEST || IN_GUEST_R3*/206 #endif /* IN_GUEST */ 207 207 } 208 208 … … 230 230 231 231 232 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)232 #ifndef IN_GUEST 233 233 /** 234 234 * Debugging the time api.
Note:
See TracChangeset
for help on using the changeset viewer.