Searched refs:kMicrosPerSecond (Results 1 – 2 of 2) sorted by relevance
52 static const int kMicrosPerSecond = 1000000; variable247 micros / kMicrosPerSecond, in MicrosecondsToDuration()248 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()274 return duration.seconds() * kMicrosPerSecond + in DurationToMicroseconds()302 micros / kMicrosPerSecond, in MicrosecondsToTimestamp()303 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()321 return timestamp.seconds() * kMicrosPerSecond + in TimestampToMicroseconds()366 result.tv_usec += kMicrosPerSecond; in DurationToTimeval()
358 const auto kMicrosPerSecond = 1000000ULL; in GetUserTime() local370 *secs = static_cast<uint32_t>(micros_since_thread_started / kMicrosPerSecond); in GetUserTime()372 static_cast<uint32_t>(micros_since_thread_started % kMicrosPerSecond); in GetUserTime()