Changeset 54215 in vbox for trunk/include
- Timestamp:
- Feb 16, 2015 12:33:36 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98279
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/sup.h
r54214 r54215 439 439 ((a_pGip)->u32Mode == SUPGIPMODE_INVARIANT_TSC && !((a_pGip)->fOsTscDeltasInSync)) 440 440 441 /** Whether the application of TSC-deltas are worth it (performance matters). */ 442 #define GIP_TSC_DELTAS_ROUGHLY_IN_SYNC(a_pGip) ((a_pGip)->fTscDeltasRoughlyInSync) 443 441 444 #if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) 442 445 /** … … 1649 1652 DECLINLINE(uint64_t) SUPReadTsc(void) 1650 1653 { 1651 if (GIP_ARE_TSC_DELTAS_APPLICABLE(g_pSUPGlobalInfoPage)) 1654 if ( GIP_ARE_TSC_DELTAS_APPLICABLE(g_pSUPGlobalInfoPage) 1655 && !GIP_TSC_DELTAS_ROUGHLY_IN_SYNC(g_pSUPGlobalInfoPage)) 1652 1656 { 1653 1657 uint64_t u64Tsc = UINT64_MAX;
Note:
See TracChangeset
for help on using the changeset viewer.