Searched refs:NANOS_PER_SEC (Results 1 – 8 of 8) sorted by relevance
41 sys_system.wSecond) * NANOS_PER_SEC) + \44 sys_user.wSecond) * NANOS_PER_SEC) + \55 (time) = (ts.tv_sec * NANOS_PER_SEC) + ts.tv_nsec; \65 (time) = (ru.ru_utime.tv_sec * NANOS_PER_SEC) + \67 (ru.ru_stime.tv_sec * NANOS_PER_SEC) + \86 (time) = (info.user_time.seconds * NANOS_PER_SEC) + \88 (info.system_time.seconds * NANOS_PER_SEC) + \112 (time) = (ts.tv_sec * NANOS_PER_SEC) + ts.tv_nsec; \133 *time = (tv.tv_sec * NANOS_PER_SEC) + (tv.tv_usec * 1000); in uvwasi__clock_gettime_realtime()
7 #define NANOS_PER_SEC 1000000000 macro
194 return (uvwasi_timestamp_t) ts->tv_sec * NANOS_PER_SEC + ts->tv_nsec; in uvwasi__timespec_to_timestamp()
93 *st_atim = now / NANOS_PER_SEC; in uvwasi__get_filestat_set_times()95 *st_atim = *st_atim / NANOS_PER_SEC; in uvwasi__get_filestat_set_times()97 *st_atim = stat.st_atim / NANOS_PER_SEC; in uvwasi__get_filestat_set_times()100 *st_mtim = now / NANOS_PER_SEC; in uvwasi__get_filestat_set_times()102 *st_mtim = *st_mtim / NANOS_PER_SEC; in uvwasi__get_filestat_set_times()104 *st_mtim = stat.st_mtim / NANOS_PER_SEC; in uvwasi__get_filestat_set_times()
59 #define NANOS_PER_SEC 1000000000 macro159 fields[0] = (t / NANOS_PER_SEC) >> 32; in Hrtime()160 fields[1] = (t / NANOS_PER_SEC) & 0xffffffff; in Hrtime()161 fields[2] = t % NANOS_PER_SEC; in Hrtime()268 Local<Number> result = Number::New(env->isolate(), uptime / NANOS_PER_SEC); in Uptime()
27 constexpr int NANOS_PER_SEC = 1000 * 1000 * 1000; variable614 (uv_hrtime() - node::per_process::node_start_time) / (NANOS_PER_SEC); in PrintResourceUsage()
190 const NANOS_PER_SEC: i64 = 1_000_000_000; constant195 const TS_MAX_SECONDS: i64 = (i64::MAX / NANOS_PER_SEC) - 1;296 let (secs, nanos) = div_mod_floor_64(nanoseconds, NANOS_PER_SEC); in nanoseconds()346 self.tv_nsec() - NANOS_PER_SEC as timespec_tv_nsec_t in nanos_mod_sec()
2029 static NANOS_PER_SEC: u32 = 1_000_000_000; in deserialize() constant2030 match secs.checked_add((nanos / NANOS_PER_SEC) as u64) { in deserialize()2167 static NANOS_PER_SEC: u32 = 1_000_000_000; in deserialize() variable2168 match secs.checked_add((nanos / NANOS_PER_SEC) as u64) { in deserialize()