VirtualBox

Changeset 87794 in vbox


Ignore:
Timestamp:
Feb 18, 2021 7:19:10 PM (4 years ago)
Author:
vboxsync
Message:

VMM/TM: Moved the timers off the hyper heap. Replaced the relative offset addressing with queue array indexing. [build fixes] bugref:9943

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r87792 r87794  
    11261126    for (uint32_t i = 0; i < RT_ELEMENTS(s_aExtra); i++)
    11271127    {
    1128         uint32_t const cExtra = s_aExtra[i].cExtra;
    1129         PTMTIMERQUEUE  pQueue = &pVM->tm.s.aTimerQueues[s_aExtra[i].idxQueue];
     1128        PTMTIMERQUEUE pQueue = &pVM->tm.s.aTimerQueues[s_aExtra[i].idxQueue];
    11301129        if (s_aExtra[i].cExtra > pQueue->cTimersFree)
    11311130        {
  • trunk/src/VBox/VMM/include/TMInternal.h

    r87792 r87794  
    181181    volatile TMTIMERSTATE   enmState;
    182182    /** The index of the next next timer in the schedule list. */
    183     int32_t volatile        idxScheduleNext;
     183    uint32_t volatile       idxScheduleNext;
    184184
    185185    /** The index of the next timer in the chain. */
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