Home
last modified time | relevance | path

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

12345678910>>...20

/external/openthread/src/core/common/
Dtimer.hpp68 class Timer : public InstanceLocator, public LinkedListEntry<Timer> class
70 friend class LinkedListEntry<Timer>;
85 typedef void (&Handler)(Timer &aTimer);
107 friend class Timer;
122 void Add(Timer &aTimer, const AlarmApi &aAlarmApi);
123 void Remove(Timer &aTimer, const AlarmApi &aAlarmApi);
128 LinkedList<Timer> mTimerList;
131 Timer(Instance &aInstance, Handler aHandler) in Timer() function in ot::Timer
138 bool DoesFireBefore(const Timer &aSecondTimer, Time aNow) const;
143 Timer * mNext;
[all …]
Dtimer.cpp44 const Timer::Scheduler::AlarmApi TimerMilli::Scheduler::sAlarmMilliApi = {
50 bool Timer::DoesFireBefore(const Timer &aSecondTimer, Time aNow) const in DoesFireBefore()
115 void Timer::Scheduler::Add(Timer &aTimer, const AlarmApi &aAlarmApi) in Add()
117 Timer *prev = nullptr; in Add()
122 for (Timer &cur : mTimerList) in Add()
143 void Timer::Scheduler::Remove(Timer &aTimer, const AlarmApi &aAlarmApi) in Remove()
163 void Timer::Scheduler::SetAlarm(const AlarmApi &aAlarmApi) in SetAlarm()
171 Timer * timer = mTimerList.GetHead(); in SetAlarm()
181 void Timer::Scheduler::ProcessTimers(const AlarmApi &aAlarmApi) in ProcessTimers()
183 Timer *timer = mTimerList.GetHead(); in ProcessTimers()
[all …]
/external/libchrome/base/timer/
Dtimer.cc26 explicit BaseTimerTaskInternal(Timer* timer) in BaseTimerTaskInternal()
48 Timer* timer = timer_; in Run()
57 Timer* timer_;
62 Timer::Timer(bool retain_user_task, bool is_repeating) in Timer() function in base::Timer
63 : Timer(retain_user_task, is_repeating, nullptr) {} in Timer()
65 Timer::Timer(bool retain_user_task, in Timer() function in base::Timer
80 Timer::Timer(const Location& posted_from, in Timer() function in base::Timer
84 : Timer(posted_from, delay, user_task, is_repeating, nullptr) {} in Timer()
86 Timer::Timer(const Location& posted_from, in Timer() function in base::Timer
103 Timer::~Timer() { in ~Timer()
[all …]
Dtimer.h85 class BASE_EXPORT Timer {
91 Timer(bool retain_user_task, bool is_repeating);
92 Timer(bool retain_user_task, bool is_repeating, const TickClock* tick_clock);
96 Timer(const Location& posted_from,
100 Timer(const Location& posted_from,
106 virtual ~Timer();
234 DISALLOW_COPY_AND_ASSIGN(Timer);
239 class BASE_EXPORT OneShotTimer : public Timer {
243 : Timer(false, false, tick_clock) {} in OneShotTimer()
252 class RepeatingTimer : public Timer {
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dtimer.h52 spvtools::utils::ScopedTimer<spvtools::utils::Timer> timer##__LINE__( \
94 class Timer {
96 Timer(std::ostream* out, bool measure_mem_usage = false)
169 virtual ~Timer() {} in ~Timer()
294 class CumulativeTimer : public Timer {
297 : Timer(out, measure_mem_usage), in Timer() function
308 Timer::Stop(); in Stop()
310 if (cpu_time_ >= 0 && Timer::CPUTime() >= 0) in Stop()
311 cpu_time_ += Timer::CPUTime(); in Stop()
315 if (wall_time_ >= 0 && Timer::WallTime() >= 0) in Stop()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dtimer.h52 spvtools::utils::ScopedTimer<spvtools::utils::Timer> timer##__LINE__( \
94 class Timer {
96 Timer(std::ostream* out, bool measure_mem_usage = false)
169 virtual ~Timer() {} in ~Timer()
294 class CumulativeTimer : public Timer {
297 : Timer(out, measure_mem_usage), in Timer() function
308 Timer::Stop(); in Stop()
310 if (cpu_time_ >= 0 && Timer::CPUTime() >= 0) in Stop()
311 cpu_time_ += Timer::CPUTime(); in Stop()
315 if (wall_time_ >= 0 && Timer::WallTime() >= 0) in Stop()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dtimer.h52 spvtools::utils::ScopedTimer<spvtools::utils::Timer> timer##__LINE__( \
94 class Timer {
96 Timer(std::ostream* out, bool measure_mem_usage = false)
169 virtual ~Timer() {} in ~Timer()
294 class CumulativeTimer : public Timer {
297 : Timer(out, measure_mem_usage), in Timer() function
308 Timer::Stop(); in Stop()
310 if (cpu_time_ >= 0 && Timer::CPUTime() >= 0) in Stop()
311 cpu_time_ += Timer::CPUTime(); in Stop()
315 if (wall_time_ >= 0 && Timer::WallTime() >= 0) in Stop()
[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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTimer.h22 class Timer; variable
76 class Timer {
85 Timer **Prev = nullptr; ///< Pointer to \p Next of previous timer in group.
86 Timer *Next = nullptr; ///< Next timer in the group.
88 explicit Timer(StringRef TimerName, StringRef TimerDescription) { in Timer() function
91 Timer(StringRef TimerName, StringRef TimerDescription, 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/scudo/standalone/
Dtiming.h26 class Timer {
31 Timer() = default;
32 Timer(Timer &&Other) in Timer() function
38 Timer(const Timer &) = delete;
40 ~Timer();
62 Timer(TimingManager &Manager, u32 HandleId) in Timer() function
74 class ScopedTimer : public Timer {
77 ScopedTimer(TimingManager &Manager, const Timer &Nest, const char *Name);
94 Timer getOrCreateTimer(const char *Name) EXCLUDES(Mutex) { in getOrCreateTimer()
100 return Timer(*this, I); in getOrCreateTimer()
[all …]
/external/iperf3/src/
Dtimer.c36 static Timer* timers = NULL;
37 static Timer* free_timers = NULL;
61 list_add( Timer* t ) in list_add()
63 Timer* t2; in list_add()
64 Timer* t2prev; in list_add()
100 list_remove( Timer* t ) in list_remove()
112 list_resort( Timer* t ) in list_resort()
121 Timer*
127 Timer* t; in tmr_create()
135 t = (Timer*) malloc( sizeof(Timer) ); in tmr_create()
[all …]
/external/webrtc/net/dcsctp/timer/
Dtimer.cc38 while (expiration_count > 0 && duration_ms < *Timer::kMaxTimerDuration) { in GetBackoffDuration()
48 return DurationMs(std::min(duration_ms, *Timer::kMaxTimerDuration)); in GetBackoffDuration()
54 constexpr DurationMs Timer::kMaxTimerDuration;
56 Timer::Timer(TimerID id, in Timer() function in dcsctp::Timer
70 Timer::~Timer() { in ~Timer()
75 void Timer::Start() { in Start()
89 void Timer::Stop() { in Stop()
97 void Timer::Trigger(TimerGeneration generation) { in Trigger()
138 std::unique_ptr<Timer> TimerManager::CreateTimer(absl::string_view name, in CreateTimer()
139 Timer::OnExpired on_expired, in CreateTimer()
[all …]
Dtimer_test.cc55 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
63 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
78 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
114 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
136 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
165 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
197 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
227 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
245 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
275 std::unique_ptr<Timer> t1 = manager_.CreateTimer( in TEST_F()
[all …]
Dtimer.h98 class Timer {
109 Timer(const Timer&) = delete;
110 Timer& operator=(const Timer&) = delete;
112 ~Timer();
147 Timer(TimerID id,
196 std::unique_ptr<Timer> CreateTimer(absl::string_view name,
197 Timer::OnExpired on_expired,
206 std::map<TimerID, Timer*> timers_;
/external/swiftshader/src/System/
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()
77 int64_t Timer::counter() in counter()
90 int64_t Timer::frequency() in frequency()
/external/python/cpython3/Lib/test/
Dtest_timeit.py73 self.assertRaises(ValueError, timeit.Timer, stmt=None)
74 self.assertRaises(SyntaxError, timeit.Timer, stmt='return')
75 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield')
76 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield from ()')
77 self.assertRaises(SyntaxError, timeit.Timer, stmt='break')
78 self.assertRaises(SyntaxError, timeit.Timer, stmt='continue')
79 self.assertRaises(SyntaxError, timeit.Timer, stmt='from timeit import *')
80 self.assertRaises(SyntaxError, timeit.Timer, stmt=' pass')
81 self.assertRaises(SyntaxError, timeit.Timer,
85 self.assertRaises(ValueError, timeit.Timer, setup=None)
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DPassTimingInfo.cpp62 DenseMap<PassInstanceID, std::unique_ptr<Timer>> TimingData; ///< timers for pass instances
84 Timer *getPassTimer(Pass *, PassInstanceID);
89 Timer *newPassTimer(StringRef PassID, StringRef PassDesc);
119 Timer *PassTimingInfo::newPassTimer(StringRef PassID, StringRef PassDesc) { in newPassTimer()
125 return new Timer(PassID, PassDescNumbered, TG); in newPassTimer()
128 Timer *PassTimingInfo::getPassTimer(Pass *P, PassInstanceID Pass) { in getPassTimer()
134 std::unique_ptr<Timer> &T = TimingData[Pass]; in getPassTimer()
150 Timer *getPassTimer(Pass *P) { in getPassTimer()
170 Timer &TimePassesHandler::getPassTimer(StringRef PassID) { in getPassTimer()
178 Timer *T = new Timer(PassID, FullDesc, TG); in getPassTimer()
[all …]
/external/perfetto/include/perfetto/ext/base/
Dwatchdog_noop.h29 class Timer {
32 Timer() {} in Timer() function
33 Timer(const Timer&) {} in Timer() function
34 ~Timer() {} in ~Timer()
40 Timer CreateFatalTimer(uint32_t /*ms*/, WatchdogCrashReason) { in CreateFatalTimer()
41 return Timer(); in CreateFatalTimer()
Dwatchdog_posix.h63 class Timer {
65 ~Timer();
66 Timer(Timer&&) noexcept;
71 explicit Timer(Watchdog*, uint32_t ms, WatchdogCrashReason);
72 Timer(const Timer&) = delete;
73 Timer& operator=(const Timer&) = delete;
88 Timer CreateFatalTimer(uint32_t ms, WatchdogCrashReason);
/external/tensorflow/tensorflow/compiler/xla/stream_executor/
Dtimer.cc25 Timer::Timer(StreamExecutor *parent) in Timer() function in stream_executor::Timer
29 Timer::~Timer() { parent_->DeallocateTimer(this); } in ~Timer()
31 uint64_t Timer::Microseconds() const { return implementation_->Microseconds(); } in Microseconds()
33 uint64_t Timer::Nanoseconds() const { return implementation_->Nanoseconds(); } in Nanoseconds()
/external/angle/util/
DTimer.cpp13 Timer::Timer() : mRunning(false), mStartTime(0), mStopTime(0) {} in Timer() function in Timer
15 void Timer::start() in start()
22 void Timer::stop() in stop()
29 double Timer::getElapsedWallClockTime() const in getElapsedWallClockTime()
44 double Timer::getElapsedCpuTime() const in getElapsedCpuTime()
/external/icing/icing/util/
Dclock.h37 class Timer {
40 Timer() : start_timestamp_nanoseconds_(GetSteadyTimeNanoseconds()) {} in Timer() function
42 virtual ~Timer() = default;
70 virtual std::unique_ptr<Timer> GetNewTimer() const;
80 ScopedTimer(std::unique_ptr<Timer> timer,
93 const Timer& timer() const { return *timer_; } in timer()
96 std::unique_ptr<Timer> timer_;
/external/crosvm/cros_async/src/
Dtimer.rs8 use base::Timer;
18 pub(crate) io_source: IoSource<Timer>,
22 pub fn new(timer: Timer, ex: &Executor) -> AsyncResult<TimerAsync> { in new() argument
40 let mut tfd = Timer::new().map_err(Error::Timer)?; in sleep()
41 tfd.reset(dur, None).map_err(Error::Timer)?; in sleep()
60 impl IntoAsync for Timer {} implementation
/external/tcpdump/tests/
Dbfd-multihop-v.out4 Detection Timer Multiplier: 3 (900 ms Detection time), BFD Length: 24
12 Detection Timer Multiplier: 3 (1200 ms Detection time), BFD Length: 24
20 Detection Timer Multiplier: 3 (900 ms Detection time), BFD Length: 24
28 Detection Timer Multiplier: 3 (900 ms Detection time), BFD Length: 24
36 Detection Timer Multiplier: 3 (1200 ms Detection time), BFD Length: 24
44 Detection Timer Multiplier: 3 (900 ms Detection time), BFD Length: 24
52 Detection Timer Multiplier: 3 (900 ms Detection time), BFD Length: 24
60 Detection Timer Multiplier: 3 (1200 ms Detection time), BFD Length: 24
68 Detection Timer Multiplier: 3 (900 ms Detection time), BFD Length: 24
76 Detection Timer Multiplier: 3 (900 ms Detection time), BFD Length: 24
[all …]

12345678910>>...20