Searched refs:nsec (Results 1 – 10 of 10) sorted by relevance
/base/powermgr/powermgr_lite/utils/include/ |
D | power_mgr_time_util.h | 44 static inline int64_t NsecToUsec(int64_t nsec) in NsecToUsec() argument 46 return nsec / NSEC_PER_USEC; in NsecToUsec() 49 static inline int64_t NsecToMsec(int64_t nsec) in NsecToMsec() argument 51 return nsec / NSEC_PER_MSEC; in NsecToMsec()
|
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/ |
D | log_timestamp.h | 41 explicit LogTimeStamp(uint32_t sec, uint32_t nsec = 0) 42 : tv_sec(sec), tv_nsec(nsec) {} in tv_sec() 102 void SetTimeStamp(uint32_t sec, uint32_t nsec) in SetTimeStamp() argument 105 this->tv_nsec = nsec; in SetTimeStamp()
|
/base/startup/init/ueventd/standard/ |
D | ueventd_parameter.c | 75 … long nsec = now.tv_usec * 1000 + (timeout % 1000) * 1000000; // 1000 unit 1000000 unit nsec in ThreadRun() local 76 …abstime.tv_sec = now.tv_sec + nsec / 1000000000 + timeout / 1000; // 1000 unit 1000000000 unit nsec in ThreadRun() 77 abstime.tv_nsec = nsec % 1000000000; // 1000000000 unit nsec in ThreadRun()
|
/base/hiviewdfx/hicollie/frameworks/native/ |
D | thread_sampler_utils.cpp | 38 uint64_t nsec = time % SEC_TO_NANOSEC; in TimeFormat() local 50 uint64_t usec = nsec / MICROSEC_TO_NANOSEC; in TimeFormat()
|
/base/startup/init/services/modules/bootchart/ |
D | bootchart.c | 181 … long nsec = now.tv_usec * 1000 + (timeout % 1000) * 1000000; // 1000 unit 1000000 unit nsec in BootchartThreadMain() local 182 …abstime.tv_sec = now.tv_sec + nsec / 1000000000 + timeout / 1000; // 1000 unit 1000000000 unit nsec in BootchartThreadMain() 183 abstime.tv_nsec = nsec % 1000000000; // 1000000000 unit nsec in BootchartThreadMain()
|
/base/hiviewdfx/hilog_lite/services/hilogcat/ |
D | hiview_logcat.c | 79 info->tm_sec, head->nsec / NANOSEC_PER_MIRCOSEC, head->pid, head->taskId, head->msg); in main()
|
/base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog/ |
D | hiview_log.h | 323 unsigned int nsec; member
|
/base/hiviewdfx/hilog_lite/services/apphilogcat/ |
D | hiview_applogcat.c | 229 …info->tm_min, info->tm_sec, head->nsec / NANOSEC_PER_MIRCOSEC, head->pid, head->taskId, head->msg); in main() 234 …info->tm_min, info->tm_sec, head->nsec / NANOSEC_PER_MIRCOSEC, head->pid, head->taskId, head->msg); in main()
|
/base/hiviewdfx/hilog/ |
D | README_zh.md | 210 … | | nsec …
|
/base/time/time_service/services/ |
D | time_system_ability.cpp | 1098 std::chrono::nanoseconds nsec(triggerTime * MILLISECOND_TO_NANO); in SetAutoReboot() local 1099 auto second = std::chrono::duration_cast<std::chrono::seconds>(nsec); in SetAutoReboot() 1101 new_value.it_value.tv_nsec = (nsec - second).count(); in SetAutoReboot()
|