VirtualBox

Changeset 57260 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Aug 10, 2015 11:42:12 AM (9 years ago)
Author:
vboxsync
Message:

SUPDrvGip: comment typo nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp

    r57233 r57260  
    706706 *
    707707 * @param   pGip                The GIP.
    708  * @param   nsElapsed           The number of nano seconds elapsed.
     708 * @param   nsElapsed           The number of nanoseconds elapsed.
    709709 * @param   cElapsedTscTicks    The corresponding number of TSC ticks.
    710710 * @param   iTick               The tick number for debugging.
     
    10201020 * @param   fRough          Set if we're doing the rough calculation that the
    10211021 *                          TSC measuring code needs, where accuracy isn't all
    1022  *                          that important (too high is better than to low).
     1022 *                          that important (too high is better than too low).
    10231023 *                          When clear we try for best accuracy that we can
    10241024 *                          achieve in reasonably short time.
     
    10991099
    11001100        /*
    1101          * If the CPU changes things get a bit complicated and what we
    1102          * can get away with depends on the GIP mode / TSC reliablity.
     1101         * If the CPU changes, things get a bit complicated and what we
     1102         * can get away with depends on the GIP mode / TSC reliability.
    11031103         */
    11041104        if (idCpuStop != idCpuStart)
     
    11661166                     * No valid deltas.  We retry, if we're on our last retry
    11671167                     * we do the cross call instead just to get a result.  The
    1168                      * frequency will be refined in a few seconds anyways.
     1168                     * frequency will be refined in a few seconds anyway.
    11691169                     */
    11701170                    else if (cTriesLeft > 0)
     
    11751175            }
    11761176            /*
    1177              * Asynchronous TSC mode: This is bad as the reason we usually
     1177             * Asynchronous TSC mode: This is bad, as the reason we usually
    11781178             * use this mode is to deal with variable TSC frequencies and
    11791179             * deltas.  So, we need to get the TSC from the same CPU as
     
    16661666 *
    16671667 * @param   pGip        Pointer to the GIP.
    1668  * @param   pCpu        Pointer to which GIP CPU to initalize.
     1668 * @param   pCpu        Pointer to which GIP CPU to initialize.
    16691669 * @param   u64NanoTS   The current nanosecond timestamp.
    16701670 * @param   uCpuHz      The CPU frequency to set, 0 if the caller doesn't know.
     
    21212121     * Determine if we need to update the CPU (TSC) frequency calculation.
    21222122     *
    2123      * We don't need to keep realculating the frequency when it's invariant,
     2123     * We don't need to keep recalculating the frequency when it's invariant,
    21242124     * unless the special tstGIP-2 testing mode is enabled.
    21252125     */
Note: See TracChangeset for help on using the changeset viewer.

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