Home
last modified time | relevance | path

Searched refs:MICROS_PER_SEC (Results 1 – 2 of 2) sorted by relevance

/third_party/node/src/
Dnode_process_methods.cc60 #define MICROS_PER_SEC 1e6 macro
122 fields[0] = MICROS_PER_SEC * rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec; in CPUUsage()
123 fields[1] = MICROS_PER_SEC * rusage.ru_stime.tv_sec + rusage.ru_stime.tv_usec; in CPUUsage()
327 fields[0] = MICROS_PER_SEC * rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec; in ResourceUsage()
328 fields[1] = MICROS_PER_SEC * rusage.ru_stime.tv_sec + rusage.ru_stime.tv_usec; in ResourceUsage()
/third_party/rust/crates/nix/src/sys/
Dtime.rs455 const MICROS_PER_SEC: i64 = 1_000_000; constant
458 const TV_MAX_SECONDS: i64 = (i64::MAX / MICROS_PER_SEC) - 1;
523 let (secs, micros) = div_mod_floor_64(microseconds, MICROS_PER_SEC); in microseconds()
541 let (secs, micros) = div_mod_floor_64(microseconds, MICROS_PER_SEC); in nanoseconds()
593 self.tv_usec() - MICROS_PER_SEC as suseconds_t in micros_mod_sec()