VirtualBox

Changeset 87625 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 5, 2021 12:58:09 PM (4 years ago)
Author:
vboxsync
Message:

VMM/HMVMX: Time todos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r87606 r87625  
    51175117             * For nested-guests, currently not exposed/used.
    51185118             */
     5119            /** @todo r=bird: Measure performance hit because of this vs. always rewriting
     5120             *        the timer value. */
    51195121            if (pVM->hmr0.s.vmx.fUsePreemptTimer)
    51205122            {
     
    71297131        /* Make sure the returned values have sane upper and lower boundaries. */
    71307132        uint64_t u64CpuHz  = SUPGetCpuHzFromGipBySetIndex(g_pSUPGlobalInfoPage, pVCpu->iHostCpuSet);
    7131         cTicksToDeadline   = RT_MIN(cTicksToDeadline, u64CpuHz / 64);      /* 1/64th of a second */
     7133        cTicksToDeadline   = RT_MIN(cTicksToDeadline, u64CpuHz / 64);      /* 1/64th of a second */ /** @todo r=bird: Once real+virtual timers move to separate thread, we can raise the upper limit (16ms isn't much). ASSUMES working poke cpu function. */
    71327134        cTicksToDeadline   = RT_MAX(cTicksToDeadline, u64CpuHz / 2048);    /* 1/2048th of a second */
    71337135        cTicksToDeadline >>= pVM->hm.s.vmx.cPreemptTimerShift;
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