Changeset 87766 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 16, 2021 2:27:43 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142820
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r87760 r87766 513 513 static DECLCALLBACK(void) vmmDevHeartbeatFlatlinedTimer(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser) 514 514 { 515 RT_NOREF(pDevIns );515 RT_NOREF(pDevIns, pTimer); 516 516 PVMMDEV pThis = (PVMMDEV)pvUser; 517 517 if (pThis->fHeartbeatActive) 518 518 { 519 uint64_t cNsElapsed = TMTimerGetNano(pTimer) - pThis->nsLastHeartbeatTS;519 uint64_t cNsElapsed = PDMDevHlpTimerGetNano(pDevIns, pThis->hFlatlinedTimer) - pThis->nsLastHeartbeatTS; 520 520 if ( !pThis->fFlatlined 521 521 && cNsElapsed >= pThis->cNsHeartbeatInterval)
Note:
See TracChangeset
for help on using the changeset viewer.