Lines Matching defs:Timer
1 //===-- Timer.cpp -----------------------------------------------*- C++ -*-===//
8 #include "lldb/Utility/Timer.h"
26 typedef std::vector<Timer *> TimerStack;
27 static std::atomic<Timer::Category *> g_categories;
30 std::atomic<bool> Timer::g_quiet(true);
31 std::atomic<unsigned> Timer::g_display_depth(0);
42 Timer::Category::Category(const char *cat) : m_name(cat) {
52 void Timer::SetQuiet(bool value) { g_quiet = value; }
54 Timer::Timer(Timer::Category &category, const char *format, ...)
75 Timer::~Timer() {
102 void Timer::SetDisplayDepth(uint32_t depth) { g_display_depth = depth; }
121 void Timer::ResetCategoryTimes() {
129 void Timer::DumpCategoryTimes(Stream *s) {