VirtualBox

Changeset 55116 in vbox


Ignore:
Timestamp:
Apr 7, 2015 2:02:09 PM (9 years ago)
Author:
vboxsync
Message:

VMM/TM: nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/TM.cpp

    r55019 r55116  
    818818 * @returns true if it has, false if it hasn't.
    819819 *
    820  * @remark  This test doesn't bother with very old CPUs that don't do power
     820 * @remarks This test doesn't bother with very old CPUs that don't do power
    821821 *          management or any other stuff that might influence the TSC rate.
    822822 *          This isn't currently relevant.
     
    883883             * as the AMD test above.
    884884             */
     885            /** @todo use ASMGetCpuFamily() and ASMGetCpuModel() here. */
    885886            ASMCpuId(1, &uEAX, &uEBX, &uECX, &uEDX);
    886887            unsigned uModel  = (uEAX >> 4) & 0x0f;
     
    902903             * Eden X2 and QuadCore.
    903904             */
     905            /** @todo use ASMGetCpuFamily() and ASMGetCpuModel() here. */
    904906            ASMCpuId(1, &uEAX, &uEBX, &uECX, &uEDX);
    905907            unsigned uStepping = (uEAX & 0x0f);
     
    10481050     */
    10491051    pVM->tm.s.fTSCModeSwitchAllowed &= tmR3HasFixedTSC(pVM) && GIMIsEnabled(pVM) && HMIsEnabled(pVM);
     1052    LogRel(("TM: fTSCModeSwitchAllowed=%RTbool\n", pVM->tm.s.fTSCModeSwitchAllowed));
    10501053    return rc;
    10511054}
     
    31373140    }
    31383141    else
    3139         LogRel(("TM: Host is not suitable for using TSC mode (%d - %s). Request to change TSC mode ignored.\n",
     3142        LogRel(("TM: Host/VM is not suitable for using TSC mode %d (%s). Request to change TSC mode ignored.\n",
    31403143                TMTSCMODE_REAL_TSC_OFFSET, tmR3GetTSCModeNameEx(TMTSCMODE_REAL_TSC_OFFSET)));
    31413144    pVM->tm.s.fParavirtTscEnabled = true;
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