Changeset 54252 in vbox for trunk/src/VBox/Runtime/common/time
- Timestamp:
- Feb 17, 2015 7:24:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/time/timesup.cpp
r54224 r54252 168 168 if (ASMCpuId_EDX(1) & X86_CPUID_FEATURE_EDX_SSE2) 169 169 iWorker = pGip->u32Mode == SUPGIPMODE_INVARIANT_TSC 170 ? !pGip->fOsTscDeltasInSync && !pGip->fTscDeltasRoughlyInSync171 ? RTTIMENANO_WORKER_LFENCE_INVAR_ WITH_DELTA : RTTIMENANO_WORKER_LFENCE_INVAR_NO_DELTA170 ? pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO 171 ? RTTIMENANO_WORKER_LFENCE_INVAR_NO_DELTA : RTTIMENANO_WORKER_LFENCE_INVAR_WITH_DELTA 172 172 : pGip->u32Mode == SUPGIPMODE_SYNC_TSC 173 ? false /** @todo !pGip->fOsTscDeltasInSync && !pGip->fTscDeltasRoughlyInSync */174 ? RTTIMENANO_WORKER_LFENCE_SYNC_ WITH_DELTA : RTTIMENANO_WORKER_LFENCE_SYNC_NO_DELTA173 ? pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO 174 ? RTTIMENANO_WORKER_LFENCE_SYNC_NO_DELTA : RTTIMENANO_WORKER_LFENCE_SYNC_WITH_DELTA 175 175 : RTTIMENANO_WORKER_LFENCE_ASYNC; 176 176 else 177 177 iWorker = pGip->u32Mode == SUPGIPMODE_INVARIANT_TSC 178 ? !pGip->fOsTscDeltasInSync && !pGip->fTscDeltasRoughlyInSync179 ? RTTIMENANO_WORKER_LEGACY_INVAR_ WITH_DELTA : RTTIMENANO_WORKER_LEGACY_INVAR_NO_DELTA178 ? pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO 179 ? RTTIMENANO_WORKER_LEGACY_INVAR_NO_DELTA : RTTIMENANO_WORKER_LEGACY_INVAR_WITH_DELTA 180 180 : pGip->u32Mode == SUPGIPMODE_SYNC_TSC 181 ? false /** @todo !pGip->fOsTscDeltasInSync && !pGip->fTscDeltasRoughlyInSync */182 ? RTTIMENANO_WORKER_LEGACY_SYNC_ WITH_DELTA : RTTIMENANO_WORKER_LEGACY_SYNC_NO_DELTA181 ? pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO 182 ? RTTIMENANO_WORKER_LEGACY_SYNC_NO_DELTA : RTTIMENANO_WORKER_LEGACY_SYNC_WITH_DELTA 183 183 : RTTIMENANO_WORKER_LEGACY_ASYNC; 184 184 }
Note:
See TracChangeset
for help on using the changeset viewer.