Changeset 19399 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 5, 2009 9:11:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TM.cpp
r19324 r19399 1492 1492 * 1493 1493 * @param pVM The VM to run the timers for. 1494 * 1495 * @thread EMT (actually EMT0, but we fend off the others) 1494 1496 */ 1495 1497 VMMR3DECL(void) TMR3TimerQueuesDo(PVM pVM) … … 1497 1499 STAM_PROFILE_START(&pVM->tm.s.StatDoQueues, a); 1498 1500 Log2(("TMR3TimerQueuesDo:\n")); 1501 1502 /* SMP: quick hack to fend of the wildlife... */ /** @todo SMP */ 1503 if ( pVM->cCPUs > 1 1504 && VMMGetCpuId(pVM) != 0) 1505 return; 1499 1506 1500 1507 /* … … 2120 2127 const uint64_t u64Real = TMRealGet(pVM); 2121 2128 2122 for (unsigned i=0;i<pVM->cCPUs;i++) 2123 { 2124 PVMCPU pVCpu = &pVM->aCpus[i]; 2125 2129 for (unsigned i = 0; i < pVM->cCPUs; i++) 2130 { 2131 PVMCPU pVCpu = &pVM->aCpus[i]; 2126 2132 uint64_t u64TSC = TMCpuTickGet(pVCpu); 2133 2127 2134 /* 2128 2135 * TSC
Note:
See TracChangeset
for help on using the changeset viewer.