VirtualBox

Changeset 87816 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Feb 20, 2021 12:54:46 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142877
Message:

VMM/TM: Gearing up to spreading out the timer work a little. bugref:9943

File:
1 edited

Legend:

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

    r87815 r87816  
    292292    /** The queue name. */
    293293    char                    szName[16];
     294    /** Set when a thread is doing scheduling and callback. */
     295    bool volatile           fBeingProcessed;
    294296    /** Set if we've disabled growing. */
    295297    bool                    fCannotGrow;
    296298    /** Align on 64-byte boundrary. */
    297     bool                    afAlignment1[3];
     299    bool                    afAlignment1[2];
    298300    /** The current max timer Hz hint. */
    299301    uint32_t volatile       uMaxHzHint;
     
    303305    /** Time spent doing scheduling and timer callbacks. */
    304306    STAMPROFILE             StatDo;
    305     uint64_t                u64Alignment2[4];
     307    /** The thread servicing this queue, NIL if none. */
     308    R3PTRTYPE(RTTHREAD)     hThread;
     309    /** The handle to the event semaphore the worker thread sleeps on. */
     310    SUPSEMEVENT             hWorkerEvt;
     311    /** Absolute sleep deadline for the worker (enmClock time). */
     312    uint64_t volatile       tsWorkerWakeup;
     313    uint64_t                u64Alignment2;
    306314
    307315    /** Lock serializing the active timer list and associated work. */
     
    593601
    594602    /** Lock serializing access to the VirtualSync clock and the associated
    595      * timer queue. */
     603     * timer queue.
     604     * @todo Consider merging this with the TMTIMERQUEUE::TimerLock for the
     605     *       virtual sync queue. */
    596606    PDMCRITSECT                 VirtualSyncLock;
    597607
Note: See TracChangeset for help on using the changeset viewer.

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