Lines Matching defs:Timer
30 class Timer {
32 // The use of Timer without binding to a TimingManager is supposed to do the
35 Timer() = default;
36 Timer(Timer &&Other)
42 Timer(const Timer &) = delete;
44 ~Timer();
66 Timer(TimingManager &Manager, u32 HandleId)
78 class ScopedTimer : public Timer {
81 ScopedTimer(TimingManager &Manager, const Timer &Nest, const char *Name);
98 Timer getOrCreateTimer(const char *Name) EXCLUDES(Mutex) {
104 return Timer(*this, I);
112 return Timer(*this, NumAllocatedTimers++);
115 // Add a sub-Timer associated with another Timer. This is used when we want to
116 // detail the execution time in the scope of a Timer.
133 Timer nest(const Timer &T, const char *Name) EXCLUDES(Mutex) {
135 Timer Nesting = getOrCreateTimer(Name);
143 void report(const Timer &T) EXCLUDES(Mutex) {