Home
last modified time | relevance | path

Searched refs:nsec (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dtime-intrinsic.cpp155 unsigned_count_t nsec{static_cast<unsigned_count_t>(tspec.tv_nsec)}; in GetSystemClockCount() local
157 return (sec * NS_PER_SEC + nsec) % (huge + 1); in GetSystemClockCount()
159 return (sec * MS_PER_SEC + (nsec / (NS_PER_SEC / MS_PER_SEC))) % (huge + 1); in GetSystemClockCount()
161 return (sec * DS_PER_SEC + (nsec / (NS_PER_SEC / DS_PER_SEC))) % (huge + 1); in GetSystemClockCount()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DChrono.h52 toTimePoint(std::time_t T, uint32_t nsec) { in toTimePoint() argument
55 + nanoseconds(nsec); in toTimePoint()
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Dfilesystem_common.h495 auto Convert = [](long nsec) {
497 auto dur = duration_cast<microseconds>(nanoseconds(nsec)).count();
/llvm-project-15.0.7/openmp/runtime/src/
H A Dz_Linux_util.cpp1993 kmp_uint64 nsec = (kmp_uint64)KMP_NSEC_PER_SEC * (kmp_uint64)t.tv_sec + in __kmp_now_nsec() local
1995 return nsec; in __kmp_now_nsec()
2003 kmp_uint64 nsec = __kmp_now_nsec(); in __kmp_initialize_system_tick() local
2008 diff = nsec2 - nsec; in __kmp_initialize_system_tick()