Home
last modified time | relevance | path

Searched refs:FromMicroseconds (Results 1 – 21 of 21) sorted by relevance

/external/v8/test/unittests/base/platform/
Dsemaphore-unittest.cc78 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1))); in Run()
120 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1))); in TEST()
128 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST()
129 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST()
130 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST()
134 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST()
136 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST()
138 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST()
Dtime-unittest.cc29 EXPECT_EQ(TimeDelta::FromMilliseconds(2), TimeDelta::FromMicroseconds(2000)); in TEST()
39 TimeDelta::FromMicroseconds(13).InMicroseconds()); in TEST()
Dcondition-variable-unittest.cc22 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()
25 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()
/external/libweave/third_party/chromium/base/time/
Dtime_unittest.cc171 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F()
183 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F()
195 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F()
244 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F()
256 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F()
421 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(1000); in TEST()
464 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(4000); in TEST()
481 TimeDelta::FromMicroseconds(2000)); in TEST()
485 TimeDelta::FromMicroseconds(2500)); in TEST()
497 EXPECT_EQ(13, TimeDelta::FromMicroseconds(13).InMicroseconds()); in TEST()
[all …]
Dtime.h116 static TimeDelta FromMicroseconds(int64_t us);
322 return TimeDelta::FromMicroseconds(us_ - other.us_);
596 inline TimeDelta TimeDelta::FromMicroseconds(int64_t us) { in FromMicroseconds() function
/external/libchrome/base/time/
Dtime_unittest.cc366 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F()
378 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F()
390 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F()
439 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F()
451 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F()
671 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(1000); in TEST()
714 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(4000); in TEST()
731 TimeDelta::FromMicroseconds(2000)); in TEST()
735 TimeDelta::FromMicroseconds(2500)); in TEST()
747 EXPECT_EQ(13, TimeDelta::FromMicroseconds(13).InMicroseconds()); in TEST()
[all …]
Dtime.h116 static TimeDelta FromMicroseconds(int64_t us);
322 return TimeDelta::FromMicroseconds(us_ - other.us_);
622 inline TimeDelta TimeDelta::FromMicroseconds(int64_t us) { in FromMicroseconds() function
Dtime_mac.cc41 base::TimeDelta::FromMicroseconds(boottime.tv_usec)); in ComputeCurrentTicks()
/external/libchrome/base/timer/
Dtimer.cc125 if (delay_ > TimeDelta::FromMicroseconds(0)) in Reset()
154 if (delay > TimeDelta::FromMicroseconds(0)) { in PostNewScheduledTask()
/external/v8/src/base/platform/
Dtime.h44 static TimeDelta FromMicroseconds(int64_t microseconds) { in FromMicroseconds() function
236 return TimeDelta::FromMicroseconds(us_ - other.us_);
347 return TimeDelta::FromMicroseconds(ticks_ - other.ticks_);
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc197 if (delay <= base::TimeDelta::FromMicroseconds(0)) { in Reset()
201 delay = base::TimeDelta::FromMicroseconds(0); in Reset()
400 if (base::Timer::GetCurrentDelay() > base::TimeDelta::FromMicroseconds(0)) { in Reset()
/external/libchrome/base/
Dsys_info.cc64 return base::TimeDelta::FromMicroseconds(uptime_in_microseconds); in Uptime()
/external/libchrome/base/files/
Dfile_posix.cc147 TimeDelta::FromMicroseconds(last_modified_nsec / in FromStat()
152 TimeDelta::FromMicroseconds(last_accessed_nsec / in FromStat()
157 TimeDelta::FromMicroseconds(creation_time_nsec / in FromStat()
/external/libchrome/base/trace_event/
Dtrace_sampling_thread.cc37 TimeDelta::FromMicroseconds(kSamplingFrequencyMicroseconds)); in ThreadMain()
Dtrace_log.cc490 delay->SetTargetDuration(TimeDelta::FromMicroseconds( in UpdateSyntheticDelaysFromTraceConfig()
/external/libbrillo/brillo/
Dbackoff_entry.cc163 base::TimeTicks() + base::TimeDelta::FromMicroseconds(release_time_us), in CalculateReleaseTime()
/external/libweave/src/
Dbackoff_entry.cc162 base::TimeTicks() + base::TimeDelta::FromMicroseconds(release_time_us), in CalculateReleaseTime()
/external/libchrome/base/process/
Dinternal_linux.cc184 return TimeDelta::FromMicroseconds( in ClockTicksToTimeDelta()
/external/v8/src/profiler/
Dcpu-profiler.cc392 sampling_interval_(base::TimeDelta::FromMicroseconds( in CpuProfiler()
406 sampling_interval_(base::TimeDelta::FromMicroseconds( in CpuProfiler()
/external/v8/test/cctest/
Dtest-cpu-profiler.cc78 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST()
166 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST()
227 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST()
296 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST()
1117 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100))); in TEST()
/external/v8/src/
Dapi.cc8050 base::TimeDelta::FromMicroseconds(us)); in SetSamplingInterval()