- Timestamp:
- Dec 6, 2014 3:49:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r53468 r53469 138 138 139 139 /** Whether the application of TSC-deltas is required. */ 140 #define GIP_ARE_TSC_DELTAS_APPLICABLE(a_pDevExt) ((a_pDevExt)->pGip->u32Mode == SUPGIPMODE_INVARIANT_TSC && !((a_pDevExt)->fOsTscDeltasInSync)) 140 #define GIP_ARE_TSC_DELTAS_APPLICABLE(a_pDevExt) \ 141 ((a_pDevExt)->pGip->u32Mode == SUPGIPMODE_INVARIANT_TSC && !((a_pDevExt)->fOsTscDeltasInSync)) 141 142 142 143 … … 7037 7038 7038 7039 /** 7039 * Clears all TSCs on the per-CPUs GIP struct. as well as the delta 7040 * synchronization variable. Optionally also clears the deltas on the per-CPU 7041 * GIP struct. as well. 7040 * Clears TSC delta related variables. 7041 * 7042 * Clears all TSC samples as well as the delta synchronization variable on the 7043 * all the per-CPU structs. Optionally also clears the per-cpu deltas too. 7042 7044 * 7043 7045 * @param pDevExt Pointer to the device instance data. … … 7436 7438 /* 7437 7439 * Record whether the host OS has already normalized inter-CPU deltas for the hardware TSC. 7438 * We only bother with TSC-deltas on ly oninvariant CPUs for now.7440 * We only bother with TSC-deltas on invariant CPUs for now. 7439 7441 */ 7440 7442 pDevExt->fOsTscDeltasInSync = supdrvIsInvariantTsc() && supdrvOSAreTscDeltasInSync();
Note:
See TracChangeset
for help on using the changeset viewer.