VirtualBox

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


Ignore:
Timestamp:
Jun 22, 2018 11:05:11 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123168
Message:

EM: Make the EMHistoryExec parameters adjustable. bugref:9198

File:
1 edited

Legend:

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

    r72642 r72657  
    503503     * wrapped around or not.  */
    504504    uint64_t                iNextExit;
     505
     506    /** Index into aExitRecords set by EMHistoryExec when returning to ring-3.
     507     * This is UINT16_MAX if not armed.  */
     508    uint16_t volatile       idxContinueExitRec;
    505509    /** Whether exit optimizations are enabled or not (in general). */
    506510    bool                    fExitOptimizationEnabled : 1;
     
    510514    bool                    fExitOptimizationEnabledR0PreemptDisabled : 1;
    511515    /** Explicit padding. */
    512     bool                    afPadding2[1];
    513     /** Index into aExitRecords set by EMHistoryExec when returning to ring-3.
    514      * This is UINT16_MAX if not armed.  */
    515     uint16_t volatile       idxContinueExitRec;
     516    bool                    fPadding2;
     517    /** Max number of instructions to execute. */
     518    uint16_t                cHistoryExecMaxInstructions;
     519    /** Min number of instructions to execute while probing. */
     520    uint16_t                cHistoryProbeMinInstructions;
     521    /** Max number of instructions to execute without an exit before giving up probe. */
     522    uint16_t                cHistoryProbeMaxInstructionsWithoutExit;
     523    uint16_t                uPadding3;
    516524    /** Number of exit records in use. */
    517525    uint32_t                cExitRecordUsed;
     
    522530    /** Number of instructions executed by EMHistoryExec. */
    523531    STAMCOUNTER             StatHistoryExecInstructions;
    524     uint64_t                aPadding3[2];
     532    uint64_t                uPadding4;
    525533    /** Number of instructions executed by EMHistoryExec when probing. */
    526534    STAMCOUNTER             StatHistoryProbeInstructions;
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