Home
last modified time | relevance | path

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

1234

/external/chromium_org/v8/src/platform/
Dtime.cc65 return TimeDelta(seconds * Time::kMicrosecondsPerSecond); in FromSeconds()
95 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
100 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
125 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromMachTimespec()
133 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond; in ToMachTimespec()
134 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * in ToMachTimespec()
148 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromTimespec()
155 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond; in ToTimespec()
156 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * in ToTimespec()
297 return Time(ts.tv_sec * kMicrosecondsPerSecond + in FromTimespec()
[all …]
Dtime.h188 static const int64_t kMicrosecondsPerSecond = kMicrosecondsPerMillisecond * variable
190 static const int64_t kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60;
196 kMicrosecondsPerSecond;
/external/chromium_org/base/time/
Dtime_posix.cc86 (static_cast<int64>(ts.tv_sec) * base::Time::kMicrosecondsPerSecond) + in ClockNow()
103 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec()
105 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec()
130 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond;
151 return Time((tv.tv_sec * kMicrosecondsPerSecond + tv.tv_usec) + in Now()
340 (static_cast<int64>(ts.tv_sec) * Time::kMicrosecondsPerSecond) + in NowFromSystemTraceTime()
359 DCHECK_LT(t.tv_usec, static_cast<int>(Time::kMicrosecondsPerSecond)); in FromTimeVal()
363 if (t.tv_usec == static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1 && in FromTimeVal()
367 (static_cast<int64>(t.tv_sec) * Time::kMicrosecondsPerSecond) + in FromTimeVal()
381 result.tv_usec = static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1; in ToTimeVal()
[all …]
Dtime_mac.cc91 base::Time::kMicrosecondsPerSecond) + in ComputeThreadTicks()
120 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond;
139 (t + kCFAbsoluteTimeIntervalSince1970) * kMicrosecondsPerSecond) + in FromCFAbsoluteTime()
149 kMicrosecondsPerSecond) - kCFAbsoluteTimeIntervalSince1970; in ToCFAbsoluteTime()
173 return Time(static_cast<int64>(seconds * kMicrosecondsPerSecond) + in FromExploded()
180 int64 microsecond = us_ % kMicrosecondsPerSecond; in Explode()
182 microsecond += kMicrosecondsPerSecond; in Explode()
183 CFAbsoluteTime seconds = ((us_ - microsecond) / kMicrosecondsPerSecond) - in Explode()
Dtime.cc33 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
37 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
70 return Time((tt * kMicrosecondsPerSecond) + kTimeTToMicrosecondsOffset); in FromTimeT()
85 return (us_ - kTimeTToMicrosecondsOffset) / kMicrosecondsPerSecond; in ToTimeT()
95 static_cast<double>(kMicrosecondsPerSecond)) + in FromDoubleT()
107 static_cast<double>(kMicrosecondsPerSecond)); in ToDoubleT()
Dtime.h204 static const int64 kMicrosecondsPerSecond = kMicrosecondsPerMillisecond * variable
206 static const int64 kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60;
212 kMicrosecondsPerSecond;
512 return TimeDelta(secs * Time::kMicrosecondsPerSecond); in FromSeconds()
Dpr_time_unittest.cc17 PRTime comparison_time_pdt = 1192477500 * Time::kMicrosecondsPerSecond;
40 Time::kMicrosecondsPerSecond; in SetUp()
/external/chromium/base/
Dtime.cc28 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
32 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
58 return Time((tt * kMicrosecondsPerSecond) + kTimeTToMicrosecondsOffset); in FromTimeT()
64 return (us_ - kTimeTToMicrosecondsOffset) / kMicrosecondsPerSecond; in ToTimeT()
72 static_cast<double>(kMicrosecondsPerSecond)) + in FromDoubleT()
80 static_cast<double>(kMicrosecondsPerSecond)); in ToDoubleT()
Dtime_posix.cc20 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec()
22 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec()
49 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond;
66 return Time((tv.tv_sec * kMicrosecondsPerSecond + tv.tv_usec) + in Now()
178 (static_cast<int64>(ts.tv_sec) * Time::kMicrosecondsPerSecond) + in Now()
207 result.tv_sec = us / Time::kMicrosecondsPerSecond; in ToTimeVal()
208 result.tv_usec = us % Time::kMicrosecondsPerSecond; in ToTimeVal()
Dtime_mac.cc41 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond;
52 return Time(static_cast<int64>(now * kMicrosecondsPerSecond) + in Now()
77 return Time(static_cast<int64>(seconds * kMicrosecondsPerSecond) + in FromExploded()
84 kMicrosecondsPerSecond) - kCFAbsoluteTimeIntervalSince1970; in Explode()
Dpr_time_unittest.cc16 PRTime comparison_time_pdt = 1192477500 * Time::kMicrosecondsPerSecond;
39 Time::kMicrosecondsPerSecond; in SetUp()
143 Time::kMicrosecondsPerSecond; in TEST_F()
155 time_t time_to_compare = comparison_time_pdt / Time::kMicrosecondsPerSecond; in TEST_F()
Dtime.h186 static const int64 kMicrosecondsPerSecond = kMicrosecondsPerMillisecond * variable
188 static const int64 kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60;
194 kMicrosecondsPerSecond;
434 return TimeDelta(secs * Time::kMicrosecondsPerSecond); in FromSeconds()
/external/chromium_org/net/quic/
Dquic_bandwidth.cc48 (8 * base::Time::kMicrosecondsPerSecond))); in FromBytesAndTimeDelta()
49 int64 bytes_per_second = (bytes * base::Time::kMicrosecondsPerSecond) / in FromBytesAndTimeDelta()
78 base::Time::kMicrosecondsPerSecond; in ToBytesPerPeriod()
83 base::Time::kMicrosecondsPerSecond; in ToKBytesPerPeriod()
104 bytes * 8 * base::Time::kMicrosecondsPerSecond / bits_per_second_); in TransferTime()
/external/chromium_org/ui/gl/
Dsync_control_vsync_provider.cc15 const int64 kMinVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 400;
16 const int64 kMaxVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 10;
69 real_time.tv_sec * base::Time::kMicrosecondsPerSecond + in GetVSyncParameters()
72 monotonic_time.tv_sec * base::Time::kMicrosecondsPerSecond + in GetVSyncParameters()
96 base::Time::kMicrosecondsPerSecond) in GetVSyncParameters()
/external/chromium_org/media/cast/
Dcast_defines.h114 *seconds = static_cast<uint32>(time_us / base::Time::kMicrosecondsPerSecond); in ConvertTimeToFractions()
116 (time_us % base::Time::kMicrosecondsPerSecond) * kMagicFractionalUnit); in ConvertTimeToFractions()
126 (kUnixEpochInNtpSeconds * base::Time::kMicrosecondsPerSecond); in ConvertTimeTicksToNtp()
134 base::Time::kMicrosecondsPerSecond + in ConvertNtpToTimeTicks()
139 (kUnixEpochInNtpSeconds * base::Time::kMicrosecondsPerSecond)); in ConvertNtpToTimeTicks()
/external/chromium_org/content/browser/speech/endpointer/
Dendpointer.cc29 static_cast<int64>(1.7 * Time::kMicrosecondsPerSecond); in Endpointer()
31 static_cast<int64>(0.5 * Time::kMicrosecondsPerSecond); in Endpointer()
35 1 * Time::kMicrosecondsPerSecond; in Endpointer()
108 audio_frame_time_us_ += (frame_size_ * Time::kMicrosecondsPerSecond) / in ProcessAudio()
/external/chromium_org/base/process/
Dprocess_metrics_posix.cc15 static const int kMicrosecondsPerSecond = 1000000; in TimeValToMicroseconds() local
17 ret *= kMicrosecondsPerSecond; in TimeValToMicroseconds()
/external/chromium/base/synchronization/
Dcondition_variable_posix.cc50 abstime.tv_sec = now.tv_sec + (usecs / Time::kMicrosecondsPerSecond); in TimedWait()
51 abstime.tv_nsec = (now.tv_usec + (usecs % Time::kMicrosecondsPerSecond)) * in TimedWait()
/external/chromium_org/content/renderer/media/
Dwebsourcebuffer_impl.cc25 time * base::Time::kMicrosecondsPerSecond); in DoubleToTimeDelta()
63 offset * base::Time::kMicrosecondsPerSecond); in setTimestampOffset()
/external/chromium_org/base/synchronization/
Dcondition_variable_posix.cc63 relative_time.tv_sec = usecs / Time::kMicrosecondsPerSecond; in TimedWait()
65 (usecs % Time::kMicrosecondsPerSecond) * Time::kNanosecondsPerMicrosecond; in TimedWait()
/external/chromium_org/cc/scheduler/
Dframe_rate_controller_unittest.cc36 base::Time::kMicrosecondsPerSecond / 60); in TEST()
75 base::Time::kMicrosecondsPerSecond / 60); in TEST()
/external/chromium_org/media/audio/cras/
Dcras_input.cc216 latency_ts.tv_sec * base::Time::kMicrosecondsPerSecond + in ReadAudio()
219 latency_usec * params_.sample_rate() / base::Time::kMicrosecondsPerSecond; in ReadAudio()
/external/chromium_org/chrome/browser/ui/webui/performance_monitor/
Dperformance_monitor_ui_constants.cc25 { UNIT_SECONDS, MEASUREMENT_TYPE_TIME, base::Time::kMicrosecondsPerSecond },
/external/chromium_org/net/quic/congestion_control/
Dleaky_bucket.cc30 (bytes_ * base::Time::kMicrosecondsPerSecond) / in TimeRemaining()
/external/chromium_org/media/base/
Daudio_converter.cc72 base::Time::kMicrosecondsPerSecond / in AudioConverter()
75 base::Time::kMicrosecondsPerSecond / in AudioConverter()

1234