- Timestamp:
- Jun 16, 2011 7:25:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/TM.cpp
r37517 r37518 2089 2089 STAM_COUNTER_INC(&pVM->tm.s.StatVirtualSyncRunStoppedAlready); 2090 2090 u64Now = pVM->tm.s.u64VirtualSync; 2091 #ifdef DEBUG_bird2092 2091 Assert(u64Now <= pNext->u64Expire); 2093 #endif2094 2092 } 2095 2093 else … … 2162 2160 2163 2161 /* assert sanity */ 2164 #ifdef DEBUG_bird2165 2162 Assert(u64Now <= u64VirtualNow - offSyncGivenUp); 2166 2163 Assert(u64Max <= u64VirtualNow - offSyncGivenUp); 2167 2164 Assert(u64Now <= u64Max); 2168 2165 Assert(offSyncGivenUp == pVM->tm.s.offVirtualSyncGivenUp); 2169 #endif2170 2166 2171 2167 /* 2172 2168 * Process the expired timers moving the clock along as we progress. 2173 2169 */ 2174 #ifdef DEBUG_bird2175 2170 #ifdef VBOX_STRICT 2176 2171 uint64_t u64Prev = u64Now; NOREF(u64Prev); 2177 #endif2178 2172 #endif 2179 2173 while (pNext && pNext->u64Expire <= u64Max) … … 2193 2187 /* Advance the clock - don't permit timers to be out of order or armed 2194 2188 in the 'past'. */ 2195 #ifdef DEBUG_bird2196 2189 #ifdef VBOX_STRICT 2197 2190 AssertMsg(pTimer->u64Expire >= u64Prev, ("%'RU64 < %'RU64 %s\n", pTimer->u64Expire, u64Prev, pTimer->pszDesc)); 2198 2191 u64Prev = pTimer->u64Expire; 2199 #endif2200 2192 #endif 2201 2193 ASMAtomicWriteU64(&pVM->tm.s.u64VirtualSync, pTimer->u64Expire); … … 2247 2239 const uint64_t u64VirtualNow2 = TMVirtualGetNoCheck(pVM); 2248 2240 Assert(u64VirtualNow2 >= u64VirtualNow); 2249 #ifdef DEBUG_bird2250 2241 AssertMsg(pVM->tm.s.u64VirtualSync >= u64Now, ("%'RU64 < %'RU64\n", pVM->tm.s.u64VirtualSync, u64Now)); 2251 #endif2252 2242 const uint64_t offSlack = pVM->tm.s.u64VirtualSync - u64Now; 2253 2243 STAM_STATS({
Note:
See TracChangeset
for help on using the changeset viewer.