Lines Matching defs:Timer
26 class Timer {
28 // The use of Timer without binding to a TimingManager is supposed to do the
31 Timer() = default;
32 Timer(Timer &&Other)
38 Timer(const Timer &) = delete;
40 ~Timer();
62 Timer(TimingManager &Manager, u32 HandleId)
74 class ScopedTimer : public Timer {
77 ScopedTimer(TimingManager &Manager, const Timer &Nest, const char *Name);
94 Timer getOrCreateTimer(const char *Name) EXCLUDES(Mutex) {
100 return Timer(*this, I);
108 return Timer(*this, NumAllocatedTimers++);
111 // Add a sub-Timer associated with another Timer. This is used when we want to
112 // detail the execution time in the scope of a Timer.
129 Timer nest(const Timer &T, const char *Name) EXCLUDES(Mutex) {
131 Timer Nesting = getOrCreateTimer(Name);
139 void report(const Timer &T) EXCLUDES(Mutex) {