Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/util/
Dtime_util.cc49 static const int kMicrosPerSecond = 1000000; variable
237 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()
/external/v8/src/base/platform/
Dplatform-fuchsia.cc138 const auto kMicrosPerSecond = 1000000ULL; in GetUserTime() local
146 *secs = static_cast<uint32_t>(micros_since_thread_started / kMicrosPerSecond); in GetUserTime()
148 static_cast<uint32_t>(micros_since_thread_started % kMicrosPerSecond); in GetUserTime()