Home
last modified time | relevance | path

Searched refs:Now (Results 1 – 25 of 675) sorted by relevance

12345678910>>...27

/external/libchrome/base/trace_event/
Dtrace_event_synthetic_delay_unittest.cc30 base::TimeTicks Now() override { in Now() function in base::trace_event::TraceEventSyntheticDelayTest
46 base::TimeTicks start = Now(); in TestFunction()
48 return (Now() - start).InMilliseconds(); in TestFunction()
52 base::TimeTicks start = Now(); in AsyncTestFunctionBegin()
54 return (Now() - start).InMilliseconds(); in AsyncTestFunctionBegin()
58 base::TimeTicks start = Now(); in AsyncTestFunctionEnd()
60 return (Now() - start).InMilliseconds(); in AsyncTestFunctionEnd()
140 base::TimeTicks start_time = Now(); in TEST_F()
149 EXPECT_GE((Now() - start_time).InMilliseconds(), kTargetDurationMs); in TEST_F()
151 start_time = Now(); in TEST_F()
[all …]
Dtrace_event_synthetic_delay.cc27 TimeTicks Now() override;
86 TimeTicks start_time = clock_->Now(); in Begin()
102 TimeTicks start_time = clock_->Now(); in BeginParallel()
141 while (clock_->Now() < end_time) { in ApplyDelay()
183 TimeTicks TraceEventSyntheticDelayRegistry::Now() { in Now() function in base::trace_event::TraceEventSyntheticDelayRegistry
184 return TimeTicks::Now(); in Now()
/external/libchrome/base/profiler/
Dtracked_time_unittest.cc55 base::TimeTicks ticks_before = base::TimeTicks::Now(); in TEST()
59 TrackedTime now = TrackedTime::Now(); in TEST()
62 base::TimeTicks ticks_after = base::TimeTicks::Now(); in TEST()
77 TrackedTime track_now = ThreadData::Now(); in TEST()
86 base::TimeTicks ticks_before = base::TimeTicks::Now(); in TEST()
92 TrackedTime now = ThreadData::Now(); in TEST()
95 base::TimeTicks ticks_after = base::TimeTicks::Now(); in TEST()
/external/v8/src/base/platform/
Dtime.cc155 Time Now() { in Now() function in v8::base::Clock
186 return TimeTicks::Now(); in GetSystemTicks()
206 Time Time::Now() { in Now() function in v8::base::Time
207 return clock.Pointer()->Now(); in Now()
255 Time Time::Now() { in Now() function in v8::base::Time
265 return Now(); in NowFromSystemTime()
370 virtual int64_t Now() = 0;
411 int64_t Now() override { in Now() function in v8::base::HighResolutionTickClock
441 int64_t Now() override { in Now() function in v8::base::RolloverProtectedTickClock
502 TimeTicks TimeTicks::Now() { in Now() function in v8::base::TimeTicks
[all …]
Delapsed-timer.h25 start_ticks_ = Now(); in Start()
57 TimeTicks ticks = Now(); in Restart()
69 TimeDelta elapsed = Now() - start_ticks_; in Elapsed()
83 static V8_INLINE TimeTicks Now() { in Now() function
/external/v8/test/unittests/base/platform/
Dtime-unittest.cc66 Time now = Time::Now(); in TEST()
82 Time now = Time::Now(); in TEST()
100 Time now = Time::Now(); in TEST()
116 static void ResolutionTest(T (*Now)(), TimeDelta target_granularity) { in ResolutionTest() argument
128 T start = Now(); in ResolutionTest()
134 now = Now(); in ResolutionTest()
148 ResolutionTest<Time>(&Time::Now, kTargetGranularity); in TEST()
155 ResolutionTest<TimeTicks>(&TimeTicks::Now, kTargetGranularity); in TEST()
174 TimeTicks normal_ticks = TimeTicks::Now(); in TEST()
/external/google-benchmark/src/
Dwalltime.cc69 WallTime Now();
131 WallTime WallTimeImp::Now() { in Now() function in benchmark::walltime::__anon154f25df0111::WallTimeImp
137 ct = cycleclock::Now(); in Now()
149 } while (cycleclock::Now() - ct > max_interval_cycles_); in Now()
171 base_cycletime_ = cycleclock::Now(); in WallTimeImp()
173 } while (cycleclock::Now() - base_cycletime_ > max_interval_cycles_); in WallTimeImp()
183 return imp.Now(); in CPUWalltimeNow()
212 WallTime Now() in Now() function
/external/libweave/src/
Dweave_unittest.cc469 auto offline_from = task_runner_.GetClock()->Now(); in TEST_F()
472 EXPECT_GT(task_runner_.GetClock()->Now() - offline_from, in TEST_F()
490 auto offline_from = task_runner_.GetClock()->Now(); in TEST_F()
494 EXPECT_GT(task_runner_.GetClock()->Now() - offline_from, in TEST_F()
501 offline_from = task_runner_.GetClock()->Now(); in TEST_F()
504 EXPECT_GT(task_runner_.GetClock()->Now() - offline_from, in TEST_F()
521 auto offline_from = task_runner_.GetClock()->Now(); in TEST_F()
524 EXPECT_GT(task_runner_.GetClock()->Now() - offline_from, in TEST_F()
540 auto time_stamp = task_runner_.GetClock()->Now(); in TEST_F()
544 EXPECT_LE(task_runner_.GetClock()->Now() - time_stamp, in TEST_F()
[all …]
/external/libweave/src/privet/
Dauth_manager_unittest.cc28 EXPECT_CALL(clock_, Now()) in SetUp()
82 auto new_time = clock_.Now() + base::TimeDelta::FromDays(11); in TEST_F()
83 EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(new_time)); in TEST_F()
146 EXPECT_CALL(clock_, Now()) in TEST_F()
163 EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(kStartTime)); in TEST_F()
176 EXPECT_CALL(clock_, Now()) in TEST_F()
185 EXPECT_CALL(clock_, Now()) in TEST_F()
205 auto new_time = clock_.Now() + base::TimeDelta::FromDays(15); in TEST_F()
206 EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(new_time)); in TEST_F()
285 auto new_time = clock_.Now() + base::TimeDelta::FromSeconds(15); in TEST_F()
[all …]
Dauth_manager.cc324 const base::Time now = Now(); in CreateAccessToken()
350 const base::Time now = Now(); in ParseAccessToken()
432 const base::Time now = Now(); in GetRootClientAuthToken()
444 base::Time AuthManager::Now() const { in Now() function in weave::privet::AuthManager
445 return clock_->Now(); in Now()
454 !VerifyMacaroon(auth_secret_, macaroon, Now(), &result, error)) { in IsValidAuthToken()
471 const base::Time now = Now(); in CreateAccessTokenFromAuth()
536 return std::to_string(ToJ2000Time(Now())) + ":" + in CreateSessionId()
542 return Now() - base::TimeDelta::FromMinutes(kSessionIdTtlMinutes) <= in IsValidSessionId()
544 ssid_time <= Now(); in IsValidSessionId()
[all …]
/external/llvm/test/CodeGen/Mips/
Dinlineasm_constraint.ll21 ; Now J with 0
31 ; Now K with 64
40 ; Now L with 0x00100000
49 ; Now N with -3
58 ; Now O with -3
67 ; Now P with 65535
/external/libweave/src/test/
Dfake_task_runner.cc13 base::Time Now() override { return now_; } in Now() function in weave::provider::test::FakeTaskRunner::TestClock
18 base::Time now_{base::Time::Now()};
30 test_clock_->SetNow(std::max(test_clock_->Now(), top.first.first)); in RunOnce()
52 queue_.emplace(std::make_pair(test_clock_->Now() + delay, ++counter_), task); in PostDelayedTask()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DTestFastLexer.cs67 DateTime start = DateTime.Now; in Iterate()
76 return DateTime.Now - start; in Iterate()
81 DateTime start = DateTime.Now; in IterateFast()
91 return DateTime.Now - start; in IterateFast()
/external/webrtc/webrtc/modules/video_capture/
Dvideo_capture_impl.cc92 (TickTime::Now() - _lastProcessTime).Milliseconds(); in TimeUntilNextProcess()
100 const TickTime now = TickTime::Now(); in Process()
101 _lastProcessTime = TickTime::Now(); in Process()
150 _lastProcessTime(TickTime::Now()), in VideoCaptureImpl()
151 _lastFrameRateCallbackTime(TickTime::Now()), in VideoCaptureImpl()
158 _lastProcessFrameCount(TickTime::Now()), in VideoCaptureImpl()
336 _lastFrameRateCallbackTime = TickTime::Now(); in EnableFrameRateCallback()
368 _incomingFrameTimes[0] = TickTime::Now(); in UpdateFrameCount()
/external/libchrome/base/synchronization/
Dspin_wait.h38 base::TimeTicks start = base::TimeTicks::Now(); \
41 if (kTimeout < base::TimeTicks::Now() - start) { \
42 EXPECT_LE((base::TimeTicks::Now() - start).InMilliseconds(), \
/external/markdown/tests/misc/
Dtabs-in-lists.txt14 Now a list with 4 spaces and some text:
21 Now with a tab and an extra space:
27 Now a list with 4 spaces:
/external/autotest/client/tests/kvm/autoit/
Dnotepad1.au326 ; Now that the Notepad window is active type some text
32 ; Now quit by pressing Alt-f and then x (File menu -> Exit)
36 ; Now a screen will pop up and ask to save the changes, the window is called
41 ; Now wait for Notepad to close before continuing
/external/libchrome/base/time/
Dtime_mac.cc39 base::TimeDelta time_difference = base::Time::Now() - in ComputeCurrentTicks()
134 Time Time::Now() { in Now() function in base::Time
165 return Now(); in NowFromSystemTime()
222 TimeTicks TimeTicks::Now() { in Now() function in base::TimeTicks
232 ThreadTicks ThreadTicks::Now() { in Now() function in base::ThreadTicks
Ddefault_clock.cc11 Time DefaultClock::Now() { in Now() function in base::DefaultClock
12 return Time::Now(); in Now()
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Dtime_scheduler.cc36 _lastPeriodMark = TickTime::Now(); in UpdateScheduler()
48 TickTime tickNow = TickTime::Now(); in UpdateScheduler()
92 TickTime tickNow = TickTime::Now(); in TimeToNextUpdate()
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler_unittest.cc109 TickTime start = TickTime::Now(); in TEST()
112 double total_time_c_us = (TickTime::Now() - start).Microseconds(); in TEST()
181 TickTime start = TickTime::Now(); in TEST()
187 double total_time_c_us = (TickTime::Now() - start).Microseconds(); in TEST()
198 start = TickTime::Now(); in TEST()
205 (TickTime::Now() - start).Microseconds(); in TEST()
211 start = TickTime::Now(); in TEST()
218 (TickTime::Now() - start).Microseconds(); in TEST()
/external/libweave/src/states/
Dstate_change_queue_unittest.cc30 auto timestamp = base::Time::Now(); in TEST_F()
41 auto timestamp1 = base::Time::Now(); in TEST_F()
61 base::Time timestamp = base::Time::Now(); in TEST_F()
90 base::Time start_time = base::Time::Now(); in TEST_F()
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_event.py82 trace_event_impl.add_trace_event("B", trace_time.Now(), "python", name,
86 trace_event_impl.add_trace_event("E", trace_time.Now(), "python", name)
95 time_stamp = trace_time.Now()
/external/libweave/third_party/chromium/base/time/
Ddefault_clock.cc11 Time DefaultClock::Now() { in Now() function in base::DefaultClock
12 return Time::Now(); in Now()
/external/libchrome/base/timer/
Delapsed_timer.cc10 begin_ = TimeTicks::Now(); in ElapsedTimer()
14 return TimeTicks::Now() - begin_; in Elapsed()

12345678910>>...27