Home
last modified time | relevance | path

Searched refs:kMicrosecondsPerSecond (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/v8/src/base/platform/
Dtime.cc63 v8::base::Time::kMicrosecondsPerSecond) - in ComputeThreadTicks()
66 int64_t micros = seconds * v8::base::Time::kMicrosecondsPerSecond; in ComputeThreadTicks()
103 v8::base::Time::kMicrosecondsPerSecond) -
106 int64_t result = int64_t{ts.tv_sec} * v8::base::Time::kMicrosecondsPerSecond;
195 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
203 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
253 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromMachTimespec()
261 ts.tv_sec = static_cast<unsigned>(delta_ / Time::kMicrosecondsPerSecond); in ToMachTimespec()
262 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * in ToMachTimespec()
275 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromTimespec()
[all …]
Dtime.h49 static constexpr int64_t kMicrosecondsPerSecond = variable
51 static constexpr int64_t kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60;
58 kNanosecondsPerMicrosecond * kMicrosecondsPerSecond;
82 return TimeDelta(seconds * TimeConstants::kMicrosecondsPerSecond); in FromSeconds()
95 return FromDouble(seconds * TimeConstants::kMicrosecondsPerSecond); in FromSecondsD()
/third_party/node/deps/v8/src/libplatform/
Ddelayed-task-queue.cc71 base::TimeConstants::kMicrosecondsPerSecond * wait_in_seconds); in GetNext()
Ddefault-foreground-task-runner.cc181 time_until_task * base::TimeConstants::kMicrosecondsPerSecond)); in WaitForTaskLocked()
Ddefault-platform.cc125 static_cast<double>(base::Time::kMicrosecondsPerSecond); in DefaultTimeFunction()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DSwapChain11.cpp43 static constexpr int64_t kMicrosecondsPerSecond = 1000000; variable
1083 *ust = syncQPCValue * kMicrosecondsPerSecond / mQPCFrequency; in getSyncValues()
1091 *ust = wholeSeconds * kMicrosecondsPerSecond + in getSyncValues()
1092 leftoverTicks * kMicrosecondsPerSecond / mQPCFrequency; in getSyncValues()
/third_party/node/src/
Dutil.cc191 constexpr double kMicrosecondsPerSecond = 1e6; in GetCurrentTimeInMicroseconds() local
194 return kMicrosecondsPerSecond * tv.tv_sec + tv.tv_usec; in GetCurrentTimeInMicroseconds()