VirtualBox

Ignore:
Timestamp:
Feb 22, 2015 1:32:45 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98440
Message:

SUPDrv,TM: Overhauled the CPU/TSC frequency a little, making it possible to run it early and skpping the 200 ms variant for the invariant tsc by executing the refinement timer several times.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r54327 r54352  
    712712    /** @} */
    713713
     714    /** @name Invariant TSC frequency refinement.
     715     * @{ */
     716    /** Nanosecond timestamp at the start of the TSC frequency refinement phase. */
     717    uint64_t                        nsStartInvarTscRefine;
     718    /** TSC reading at the start of the TSC frequency refinement phase. */
     719    uint64_t                        uTscStartInvarTscRefine;
     720    /** The CPU id of the CPU that u64TscAnchor was measured on. */
     721    RTCPUID                         idCpuInvarTscRefine;
     722    /** Pointer to the timer used to refine the TSC frequency. */
     723    PRTTIMER                        pInvarTscRefineTimer;
     724    /** @} */
     725
    714726    /** @name TSC-delta measurement.
    715727     *  @{ */
    716     /** TSC reading during start of TSC frequency refinement phase. */
    717     uint64_t                        u64TscAnchor;
    718     /** Timestamp (in nanosec) during start of TSC frequency refinement phase. */
    719     uint64_t                        u64NanoTSAnchor;
    720     /** Pointer to the timer used to refine the TSC frequency. */
    721     PRTTIMER                        pTscRefineTimer;
    722728    /** Pointer to the TSC delta sync. struct. */
    723729    void                           *pvTscDeltaSync;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette