MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / get_current_timestamp_ns

Function get_current_timestamp_ns

fastdeploy/usage/usage_lib.py:74–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73
74def get_current_timestamp_ns() -> int:
75 return int(datetime.datetime.now(datetime.timezone.utc).timestamp() * 1e9)
76
77
78def cuda_is_initialized() -> bool:

Callers 3

_report_usage_onceMethod · 0.85

Calls

no outgoing calls

Tested by 1