VirtualBox

Changeset 87815 in vbox


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

VMM/TM: Moved uMaxHzHint up in the queue structure. bugref:9943

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/TMInternal.h

    r87814 r87815  
    164164    R3PTRTYPE(PPDMCRITSECT) pCritSect;
    165165
    166     /* new cache line (64-bit / 64 bytes) */
     166    /* --- new cache line (64-bit / 64 bytes) --- */
    167167
    168168    /** Type specific data. */
     
    282282    uint32_t volatile       idxSchedule;
    283283    /** The clock for this queue. */
    284     TMCLOCK                 enmClock;
     284    TMCLOCK                 enmClock;   /**< @todo consider duplicating this in TMTIMERQUEUER0 for better cache locality (paTimers). */
    285285
    286286    /** The size of the paTimers allocation (in entries). */
     
    295295    bool                    fCannotGrow;
    296296    /** Align on 64-byte boundrary. */
    297     bool                    afAlignment1[7];
     297    bool                    afAlignment1[3];
     298    /** The current max timer Hz hint. */
     299    uint32_t volatile       uMaxHzHint;
     300
     301    /* --- new cache line (64-bit / 64 bytes) --- */
    298302
    299303    /** Time spent doing scheduling and timer callbacks. */
    300304    STAMPROFILE             StatDo;
    301     /** The current max timer Hz hint. */
    302     uint32_t volatile       uMaxHzHint;
    303     uint32_t                u64Alignment2[7];
     305    uint64_t                u64Alignment2[4];
    304306
    305307    /** Lock serializing the active timer list and associated work. */
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