Changeset 51867 in vbox
- Timestamp:
- Jul 4, 2014 12:53:36 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94723
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/TM.cpp
r51852 r51867 163 163 164 164 165 //#define SYNC_TSC_PAUSE166 165 /******************************************************************************* 167 166 * Internal Functions * … … 2686 2685 if (!pVM->tm.s.fTSCTiedToExecution) 2687 2686 { 2688 #ifdef SYNC_TSC_PAUSE 2689 TM_LOCK_TIMERS(pVM); /* Paranoia: Exploiting the timer lock here. */ 2687 TM_LOCK_TIMERS(pVM); /* Exploit the timer lock for synchronization. */ 2690 2688 rc = tmCpuTickPauseLocked(pVM, pVCpu); 2691 2689 TM_UNLOCK_TIMERS(pVM); 2692 #else2693 rc = tmCpuTickPause(pVCpu);2694 #endif2695 2690 if (RT_FAILURE(rc)) 2696 2691 return rc; … … 2739 2734 if (!pVM->tm.s.fTSCTiedToExecution) 2740 2735 { 2741 #ifdef SYNC_TSC_PAUSE 2742 TM_LOCK_TIMERS(pVM); /* Paranoia: Exploiting the timer lock here. */ 2736 TM_LOCK_TIMERS(pVM); /* Exploit the timer lock for synchronization. */ 2743 2737 rc = tmCpuTickResumeLocked(pVM, pVCpu); 2744 2738 TM_UNLOCK_TIMERS(pVM); 2745 #else2746 rc = tmCpuTickResume(pVM, pVCpu);2747 #endif2748 2739 if (RT_FAILURE(rc)) 2749 2740 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.