Searched refs:kMicrosPerSecond (Results 1 – 2 of 2) sorted by relevance
49 static const int kMicrosPerSecond = 1000000; variable237 micros / kMicrosPerSecond, in MicrosecondsToDuration()238 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()264 return duration.seconds() * kMicrosPerSecond + in DurationToMicroseconds()292 micros / kMicrosPerSecond, in MicrosecondsToTimestamp()293 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()311 return timestamp.seconds() * kMicrosPerSecond + in TimestampToMicroseconds()356 result.tv_usec += kMicrosPerSecond; in DurationToTimeval()
138 const auto kMicrosPerSecond = 1000000ULL; in GetUserTime() local146 *secs = static_cast<uint32_t>(micros_since_thread_started / kMicrosPerSecond); in GetUserTime()148 static_cast<uint32_t>(micros_since_thread_started % kMicrosPerSecond); in GetUserTime()