跳转到内容

BM_GetHostPtpTime

函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。

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.