Home
last modified time | relevance | path

Searched refs:Timer (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/libchrome/base/timer/
Dtimer.cc28 explicit BaseTimerTaskInternal(Timer* timer) in BaseTimerTaskInternal()
51 Timer* timer = timer_; in Run()
63 Timer* timer_;
66 Timer::Timer(bool retain_user_task, bool is_repeating) in Timer() function in base::Timer
67 : Timer(retain_user_task, is_repeating, nullptr) {} in Timer()
69 Timer::Timer(bool retain_user_task, bool is_repeating, TickClock* tick_clock) in Timer() function in base::Timer
77 Timer::Timer(const tracked_objects::Location& posted_from, in Timer() function in base::Timer
81 : Timer(posted_from, delay, user_task, is_repeating, nullptr) {} in Timer()
83 Timer::Timer(const tracked_objects::Location& posted_from, in Timer() function in base::Timer
98 Timer::~Timer() { in ~Timer()
[all …]
Dtimer.h73 class BASE_EXPORT Timer {
80 Timer(bool retain_user_task, bool is_repeating);
81 Timer(bool retain_user_task, bool is_repeating, TickClock* tick_clock);
85 Timer(const tracked_objects::Location& posted_from,
89 Timer(const tracked_objects::Location& posted_from,
95 virtual ~Timer();
217 DISALLOW_COPY_AND_ASSIGN(Timer);
223 class BaseTimerMethodPointer : public Timer {
230 using Timer::Start;
234 : Timer(mode == REPEATING, mode == REPEATING, tick_clock) {} in BaseTimerMethodPointer()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DTimer.h27 class Timer; variable
84 class Timer {
90 Timer **Prev, *Next; // Doubly linked list of timers in the group.
92 explicit Timer(StringRef N) : TG(0) { init(N); } in Timer() function
93 Timer(StringRef N, TimerGroup &tg) : TG(0) { init(N, tg); } in Timer() function
94 Timer(const Timer &RHS) : TG(0) { in Timer() function
97 const Timer &operator=(const Timer &T) {
101 ~Timer();
104 explicit Timer() : TG(0) {} in Timer() function
132 Timer *T;
[all …]
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc24 : base::Timer(retain_user_task, is_repeating), in AlarmTimer()
36 if (!base::Timer::is_running()) in Stop()
40 base::Timer::Stop(); in Stop()
47 base::Timer::set_is_running(false); in Stop()
51 if (!base::Timer::retain_user_task()) in Stop()
52 base::Timer::set_user_task(base::Closure()); in Stop()
57 DCHECK(!base::Timer::user_task().is_null()); in Reset()
60 base::Timer::Reset(); in Reset()
70 std::max(base::TimeDelta(), base::Timer::GetCurrentDelay()); in Reset()
73 base::Timer::set_desired_run_time( in Reset()
[all …]
/external/llvm/include/llvm/Support/
DTimer.h22 class Timer; variable
78 class Timer {
86 Timer **Prev, *Next; // Doubly linked list of timers in the group.
88 explicit Timer(StringRef N) : TG(nullptr) { init(N); } in Timer() function
89 Timer(StringRef N, TimerGroup &tg) : TG(nullptr) { init(N, tg); } in Timer() function
90 Timer(const Timer &RHS) : TG(nullptr) { in Timer() function
93 const Timer &operator=(const Timer &T) {
97 ~Timer();
100 explicit Timer() : TG(nullptr) {} in Timer() function
137 Timer *T;
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimer.h22 class Timer; variable
76 class Timer {
85 Timer **Prev; ///< Pointer to \p Next of previous timer in group.
86 Timer *Next; ///< Next timer in the group.
88 explicit Timer(StringRef Name, StringRef Description) { in Timer() function
91 Timer(StringRef Name, StringRef Description, TimerGroup &tg) { in Timer() function
94 Timer(const Timer &RHS) { in Timer() function
97 const Timer &operator=(const Timer &T) {
101 ~Timer();
104 explicit Timer() {} in Timer() function
[all …]
/external/perfetto/include/perfetto/base/
Dwatchdog_posix.h36 class Timer {
38 ~Timer();
39 Timer(Timer&&) noexcept;
44 explicit Timer(uint32_t ms);
45 Timer(const Timer&) = delete;
46 Timer& operator=(const Timer&) = delete;
56 Timer CreateFatalTimer(uint32_t ms);
Dwatchdog_noop.h27 class Timer {
30 Timer() {} in Timer() function
31 Timer(const Timer&) {} in Timer() function
32 ~Timer() {} in ~Timer()
35 Timer CreateFatalTimer(uint32_t /*ms*/) { return Timer(); } in CreateFatalTimer()
/external/swiftshader/src/Common/
DTimer.cpp40 Timer::Timer() in Timer() function in sw::Timer
44 Timer::~Timer() in ~Timer()
48 double Timer::seconds() in seconds()
59 int64_t Timer::ticks() in ticks()
72 int64_t Timer::counter() in counter()
85 int64_t Timer::frequency() in frequency()
/external/swiftshader/third_party/LLVM/lib/Support/
DTimer.cpp103 void Timer::init(StringRef N) { in init()
111 void Timer::init(StringRef N, TimerGroup &tg) { in init()
119 Timer::~Timer() { in ~Timer()
147 static ManagedStatic<std::vector<Timer*> > ActiveTimers;
149 void Timer::startTimer() { in startTimer()
155 void Timer::stopTimer() { in stopTimer()
161 std::vector<Timer*>::iterator I = in stopTimer()
199 typedef StringMap<Timer> Name2TimerMap;
210 Timer &get(StringRef Name, StringRef GroupName) { in get()
218 Timer &T = GroupEntry.second[Name]; in get()
[all …]
/external/python/cpython3/Lib/test/
Dtest_timeit.py74 self.assertRaises(ValueError, timeit.Timer, stmt=None)
75 self.assertRaises(SyntaxError, timeit.Timer, stmt='return')
76 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield')
77 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield from ()')
78 self.assertRaises(SyntaxError, timeit.Timer, stmt='break')
79 self.assertRaises(SyntaxError, timeit.Timer, stmt='continue')
80 self.assertRaises(SyntaxError, timeit.Timer, stmt='from timeit import *')
83 self.assertRaises(ValueError, timeit.Timer, setup=None)
84 self.assertRaises(SyntaxError, timeit.Timer, setup='return')
85 self.assertRaises(SyntaxError, timeit.Timer, setup='yield')
[all …]
/external/tcpdump/tests/
Dospf3_ah-vv.out4 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
9 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
14 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
20 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
26 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
32 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
38 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
48 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
57 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
103 Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.5, Priority 1
[all …]
Dbfd-raw-auth-md5-v.out4 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
15 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
26 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
37 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
48 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
59 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
70 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
81 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
92 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
103 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
[all …]
Dbfd-raw-auth-sha1-v.out4 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
15 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
26 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
37 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
48 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
59 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
70 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
81 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
92 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
103 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
[all …]
Dbfd-raw-auth-simple-v.out4 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
14 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
24 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
34 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
44 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
54 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
64 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
74 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
84 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
94 Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
[all …]
/external/llvm/lib/Support/
DTimer.cpp98 void Timer::init(StringRef N) { in init()
102 void Timer::init(StringRef N, TimerGroup &tg) { in init()
110 Timer::~Timer() { in ~Timer()
138 void Timer::startTimer() { in startTimer()
144 void Timer::stopTimer() { in stopTimer()
151 void Timer::clear() { in clear()
185 typedef StringMap<Timer> Name2TimerMap;
196 Timer &get(StringRef Name, StringRef GroupName) { in get()
204 Timer &T = GroupEntry.second[Name]; in get()
216 static Timer &getNamedRegionTimer(StringRef Name) { in getNamedRegionTimer()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dtimer.cc27 Timer::Timer(StreamExecutor *parent) in Timer() function in perftools::gputools::Timer
31 Timer::~Timer() { parent_->DeallocateTimer(this); } in ~Timer()
33 uint64 Timer::Microseconds() const { return implementation_->Microseconds(); } in Microseconds()
35 uint64 Timer::Nanoseconds() const { return implementation_->Nanoseconds(); } in Nanoseconds()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DTimer.cpp97 void Timer::init(StringRef Name, StringRef Description) { in init()
101 void Timer::init(StringRef Name, StringRef Description, TimerGroup &tg) { in init()
110 Timer::~Timer() { in ~Timer()
140 void Timer::startTimer() { in startTimer()
146 void Timer::stopTimer() { in stopTimer()
153 void Timer::clear() { in clear()
187 typedef StringMap<Timer> Name2TimerMap;
198 Timer &get(StringRef Name, StringRef Description, StringRef GroupName, in get()
207 Timer &T = GroupEntry.second[Name]; in get()
259 void TimerGroup::removeTimer(Timer &T) { in removeTimer()
[all …]
/external/python/cpython2/Lib/test/
Dtest_timeit.py75 self.assertRaises(ValueError, timeit.Timer, stmt=None)
76 self.assertRaises(SyntaxError, timeit.Timer, stmt='return')
77 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield')
78 self.assertRaises(SyntaxError, timeit.Timer, stmt='break')
79 self.assertRaises(SyntaxError, timeit.Timer, stmt='continue')
82 self.assertRaises(ValueError, timeit.Timer, setup=None)
83 self.assertRaises(SyntaxError, timeit.Timer, setup='return')
84 self.assertRaises(SyntaxError, timeit.Timer, setup='yield')
85 self.assertRaises(SyntaxError, timeit.Timer, setup='break')
86 self.assertRaises(SyntaxError, timeit.Timer, setup='continue')
[all …]
/external/skia/tools/viewer/
DStatsLayer.h20 typedef int Timer; typedef
22 Timer addTimer(const char* label, SkColor color, SkColor labelColor = 0);
23 void beginTiming(Timer);
24 void endTiming(Timer);
25 double getLastTime(Timer);
/external/skqp/tools/viewer/
DStatsLayer.h20 typedef int Timer; typedef
22 Timer addTimer(const char* label, SkColor color, SkColor labelColor = 0);
23 void beginTiming(Timer);
24 void endTiming(Timer);
25 double getLastTime(Timer);
/external/perfetto/src/base/
Dwatchdog_posix.cc77 Watchdog::Timer Watchdog::CreateFatalTimer(uint32_t ms) { in CreateFatalTimer()
78 return Watchdog::Timer(ms); in CreateFatalTimer()
233 Watchdog::Timer::Timer(uint32_t ms) { in Timer() function in perfetto::base::Watchdog::Timer
244 Watchdog::Timer::~Timer() { in ~Timer()
250 Watchdog::Timer::Timer(Timer&& other) { in Timer() function in perfetto::base::Watchdog::Timer
/external/mockito/src/test/java/org/mockito/internal/util/
DTimerTest.java22 Timer timer = new Timer(duration); in should_return_true_if_task_is_in_acceptable_time_bounds()
34 Timer timer = new Timer(0); in should_return_false_when_time_run_out()
48 new Timer(-1); in should_throw_friendly_reminder_exception_when_duration_is_negative()
/external/pdfium/xfa/fwl/
Dcfwl_caret.h38 class Timer : public CFWL_Timer {
40 explicit Timer(CFWL_Caret* pCaret);
41 ~Timer() override {} in ~Timer()
45 friend class CFWL_Caret::Timer;
51 std::unique_ptr<CFWL_Caret::Timer> m_pTimer;
/external/skia/tests/
DTest.cpp57 skiatest::Timer::Timer() : fStartNanos(SkTime::GetNSecs()) {} in Timer() function in skiatest::Timer
59 double skiatest::Timer::elapsedNs() const { in elapsedNs()
63 double skiatest::Timer::elapsedMs() const { return this->elapsedNs() * 1e-6; } in elapsedMs()
65 SkMSec skiatest::Timer::elapsedMsInt() const { in elapsedMsInt()

12345678910