Skip to content

BM_GetHostPtpTime

Get PTP timestamp in nano-seconds of the host machine, which is calling BMAPI.

BMAPI uint64_t BM_GetHostPtpTime (void)

Current PTP timestamp in nano-seconds, in local timezone, since 1970-1-1.


This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.