Changeset 54181 in vbox
- Timestamp:
- Feb 12, 2015 5:34:24 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98237
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/sup.h
r54013 r54181 1649 1649 uint64_t u64Tsc = UINT64_MAX; 1650 1650 int rc = SUPGetTsc(&u64Tsc, NULL /* pidApic */); 1651 #if ndef DEBUG_michael1651 #ifdef DEBUG_ramshankar 1652 1652 AssertRC(rc); 1653 1653 #endif -
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r54013 r54181 3917 3917 static void supdrvGipReInitCpu(PSUPGLOBALINFOPAGE pGip, PSUPGIPCPU pGipCpu, uint64_t u64NanoTS) 3918 3918 { 3919 pGipCpu->u64TSC = SUPReadTsc() - pGipCpu->u32UpdateIntervalTSC; 3919 /* 3920 * Here we don't really care about applying the TSC delta. The re-initialization of this 3921 * value is not relevant especially while (re)starting the GIP as the first few ones will 3922 * be ignored anyway, see supdrvGipDoUpdateCpu(). 3923 */ 3924 pGipCpu->u64TSC = ASMReadTSC() - pGipCpu->u32UpdateIntervalTSC; 3920 3925 pGipCpu->u64NanoTS = u64NanoTS; 3921 3926 } … … 7586 7591 7587 7592 /** 7588 * Worker routine for supdrvGipUpdate and supdrvGipUpdatePerCputhat7593 * Worker routine for supdrvGipUpdate() and supdrvGipUpdatePerCpu() that 7589 7594 * updates all the per cpu data except the transaction id. 7590 7595 *
Note:
See TracChangeset
for help on using the changeset viewer.