VirtualBox

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


Ignore:
Timestamp:
May 22, 2023 8:52:26 PM (20 months ago)
Author:
vboxsync
Message:

VMM/EM: Time slice cleanups. Scm fixes.

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

Legend:

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

    r99898 r99920  
    5757#endif /* !VMM_INCLUDED_SRC_include_EMInline_h */
    5858
    59 
  • trunk/src/VBox/VMM/include/EMInternal.h

    r99899 r99920  
    160160    uint8_t                 abPadding0[7];
    161161
    162     /** Start of the current time slice in ms. */
    163     uint64_t                u64TimeSliceStart;
    164     /** Start of the current time slice in thread execution time (ms). */
    165     uint64_t                u64TimeSliceStartExec;
    166     /** Current time slice value. */
    167     uint64_t                u64TimeSliceExec;
     162    /** Start of the current time slice in ms (RTTimeMilliTS). */
     163    uint64_t                msTimeSliceStart;
     164    /** The sum of the RTThreadGetExecutionTimeMilli() values at the start of the
     165     * current slice. */
     166    uint64_t                cMsTimeSliceStartExec;
     167    /** Number of milliseconds into the current time slice last we checked.
     168     * This is in terms of the RTThreadGetExecutionTimeMilli() total, like for
     169     * cMsTimeSliceStartExec. */
     170    uint64_t                cMsTimeSliceExec;
    168171
    169172    /** Pending ring-3 I/O port access (VINF_EM_PENDING_R3_IOPORT_READ / VINF_EM_PENDING_R3_IOPORT_WRITE). */
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