VirtualBox

Ignore:
Timestamp:
Apr 15, 2015 10:57:04 AM (10 years ago)
Author:
vboxsync
Message:

heartbeat service: document it, sanity check and fixed logging

Location:
trunk/src/VBox/Additions/common/VBoxGuest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r54721 r55275  
    844844            if (RT_SUCCESS(rc))
    845845            {
    846                 LogRel(("VbgdCommonInitDevExt: Setting up heartbeat to trigger every %RU64 sec\n",
    847                         pDevExt->cNsHeartbeatInterval / RT_NS_1SEC));
     846                LogRel(("VbgdCommonInitDevExt: Setting up heartbeat to trigger every %RU64 milliseconds\n",
     847                        pDevExt->cNsHeartbeatInterval / RT_NS_1MS));
    848848                rc = RTTimerCreateEx(&pDevExt->pHeartbeatTimer, pDevExt->cNsHeartbeatInterval, 0 /*fFlags*/,
    849849                                     (PFNRTTIMER)vbgdHeartbeatTimerHandler, pDevExt);
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h

    r54613 r55275  
    237237    uint64_t                    cNsHeartbeatInterval;
    238238    /** Preallocated VMMDevReq_GuestHeartbeat request. */
    239     VMMDevRequestHeader *pReqGuestHeartbeat;
     239    VMMDevRequestHeader         *pReqGuestHeartbeat;
    240240} VBOXGUESTDEVEXT;
    241241/** Pointer to the VBoxGuest driver 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