VirtualBox

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


Ignore:
Timestamp:
Jul 24, 2024 9:01:08 AM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164122
Message:

VMM/TM: An automatic power off timer for debugging - disabled by default. bugref:10727

File:
1 edited

Legend:

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

    r104131 r105463  
    5555#define TMCLOCK_FREQ_VIRTUAL    UINT32_C(1000000000)
    5656
     57/** @def TM_SECONDS_TO_AUTOMATIC_POWER_OFF
     58 * Powers off the VM automatically after the defined number of seconds.
     59 * This is for debugging only. */
     60#if defined(DOXYGEN_RUNNING) || 0
     61# define TM_SECONDS_TO_AUTOMATIC_POWER_OFF 45
     62#endif
    5763
    5864/**
     
    740746    STAMCOUNTER                 StatTSCSyncNotTicking;
    741747    /** @} */
     748
     749#ifdef TM_SECONDS_TO_AUTOMATIC_POWER_OFF
     750    /** The automatic power off timer. */
     751    TMTIMERHANDLE               hAutoPowerOff;
     752#endif
    742753} TM;
    743754/** Pointer to TM VM instance data. */
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