Home
last modified time | relevance | path

Searched refs:NS_PER_SEC (Results 1 - 1 of 1) sorted by relevance

/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
H A Dlog_timestamp.h22 #define NS_PER_SEC 1000000000ULL macro
83 this->tv_nsec = NS_PER_SEC + this->tv_nsec - time.tv_nsec; in operator -=()
94 if (this->tv_nsec >= NS_PER_SEC) { in operator +=()
95 this->tv_nsec -= NS_PER_SEC; in operator +=()
110 return static_cast<float>(tv_sec) + static_cast<float>(tv_nsec) / NS_PER_SEC; in FloatSecs()

Completed in 1 milliseconds