Searched refs:nsec (Results 1 - 9 of 9) sorted by relevance
/base/powermgr/powermgr_lite/utils/include/ |
H A 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/ |
H A D | log_timestamp.h | 41 explicit LogTimeStamp(uint32_t sec, uint32_t nsec = 0) in LogTimeStamp() 42 : tv_sec(sec), tv_nsec(nsec) {} in LogTimeStamp() 102 void SetTimeStamp(uint32_t sec, uint32_t nsec) in SetTimeStamp() argument 105 this->tv_nsec = nsec; in SetTimeStamp()
|
/base/startup/init/ueventd/standard/ |
H A D | ueventd_parameter.c | 75 long long nsec = (long long)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/thread_sampler/ |
H A 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/ |
H A D | bootchart.c | 41 long long jiffies2 = (long long)time1.tv_sec * (1000000000 / NANO_PRE_JIFFY); // 1000000000 to nsec in GetJiffies() 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/interfaces/native/innerkits/hilog/ |
H A D | hiview_log.h | 323 unsigned int nsec; member
|
/base/hiviewdfx/hilog_lite/services/hilogcat/ |
H A 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/services/apphilogcat/ |
H A 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/time/time_service/services/ |
H A D | time_system_ability.cpp | 1055 std::chrono::nanoseconds nsec(triggerTime * MILLISECOND_TO_NANO); in SetAutoReboot() 1056 auto second = std::chrono::duration_cast<std::chrono::seconds>(nsec); in SetAutoReboot() 1058 new_value.it_value.tv_nsec = (nsec - second).count(); in SetAutoReboot()
|
Completed in 6 milliseconds