summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/VMMDev/VMMDevState.h
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-10-09 17:31:28 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-10-09 17:31:28 +0000
commit207b3ceeb52d9b6ff710a60bad53bd94ae2105e3 (patch)
treef7ed224fa9f7bbdc5ae111e0c98a532f82b5f6aa /src/VBox/Devices/VMMDev/VMMDevState.h
parentc56f1a59914e29dadfa2bc2cde7c48e676653a65 (diff)
downloadVirtualBox-svn-207b3ceeb52d9b6ff710a60bad53bd94ae2105e3.tar.gz
VMMDev: Positive thinking, Doxygen, and some heartbeat cleanups.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@58159 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Devices/VMMDev/VMMDevState.h')
-rw-r--r--src/VBox/Devices/VMMDev/VMMDevState.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/VBox/Devices/VMMDev/VMMDevState.h b/src/VBox/Devices/VMMDev/VMMDevState.h
index ba45605d69d..47840461de4 100644
--- a/src/VBox/Devices/VMMDev/VMMDevState.h
+++ b/src/VBox/Devices/VMMDev/VMMDevState.h
@@ -360,19 +360,21 @@ typedef struct VMMDevState
#endif /* !VBOX_WITHOUT_TESTING_FEATURES */
/** Timestamp of the last heartbeat from guest in nanosec. */
- uint64_t volatile uLastHBTime;
+ uint64_t volatile nsLastHeartbeatTS;
/** Indicates whether we missed HB from guest on last check. */
bool volatile fHasMissedHB;
/** Indicates whether heartbeat check is active. */
bool volatile fHBCheckEnabled;
/** Alignment padding. */
bool afAlignment8[6];
- /** Guest heartbeat interval in nanoseconds. */
- uint64_t u64HeartbeatInterval;
- /** Guest heartbeat timeout in nanoseconds. */
- uint64_t u64HeartbeatTimeout;
- /** Timer for checking guest heart beat. */
- PTMTIMERR3 pHBCheckTimer;
+ /** Guest heartbeat interval in nanoseconds.
+ * This is the interval the guest is told to produce heartbeats at. */
+ uint64_t cNsHeartbeatInterval;
+ /** The amount of time without a heartbeat (nanoseconds) before we
+ * conclude the guest is doing a Dixie Flatline (Neuromancer) impression. */
+ uint64_t cNsHeartbeatTimeout;
+ /** Timer for signalling a flatlined guest. */
+ PTMTIMERR3 pHearbeatFlatlinedTimer;
} VMMDevState;
typedef VMMDevState VMMDEV;
/** Pointer to the VMM device state. */