/llvm-project/lld/COFF/ |
H A D | COFFLinkerContext.h | 20 #include "lld/Common/Timer.h" 85 Timer rootTimer; 86 Timer inputFileTimer; 87 Timer ltoTimer; 88 Timer gcTimer; 89 Timer icfTimer; 92 Timer codeLayoutTimer; 93 Timer outputCommitTimer; 94 Timer totalMapTimer; 95 Timer symbolGatherTime [all...] |
/llvm-project/lldb/unittests/Utility/ |
H A D | TimerTest.cpp | 17 Timer::ResetCategoryTimes(); in TEST() 19 static Timer::Category tcat("CAT1"); in TEST() 20 Timer t(tcat, "."); in TEST() 24 Timer::DumpCategoryTimes(ss); in TEST() 32 Timer::ResetCategoryTimes(); in TEST() 34 static Timer::Category tcat1("CAT1"); in TEST() 35 Timer t1(tcat1, "."); in TEST() 38 Timer t2(tcat1, "."); in TEST() 42 Timer::DumpCategoryTimes(ss); in TEST() 52 Timer::ResetCategoryTimes(); in TEST() [all …]
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/utils/ |
H A D | Timer.py | 19 class Timer(object): class 29 Timer.indent += 1 30 if Timer.display and self.name: 31 indent = _indent(Timer.indent - 1) + " _" 32 Timer.fn("{}\n".format(_indent(Timer.indent - 1))) 33 Timer.fn("{} start {}\n".format(indent, self.name)) 37 if Timer.display and self.name: 38 indent = _indent(Timer.indent - 1) + "|_" 39 Timer.fn( 42 Timer.fn("{}\n".format(_indent(Timer.indent - 1))) [all …]
|
H A D | __init__.py | 14 from dex.utils.Timer import Timer
|
/llvm-project/mlir/include/mlir/Support/ |
H A D | Timing.h | 24 class Timer; variable 124 Timer getRootTimer(); 133 friend class Timer; 186 class Timer { 188 Timer() = default; 189 Timer(const Timer &other) = default; 190 Timer(Timer &&other) : Timer(other) { in Timer() function 195 Timer &operator=(Timer &&other) { 231 Timer nest(const void *id, function_ref<std::string()> nameBuilder) { in nest() 232 return tm ? Timer(*tm, tm->nestTimer(handle, id, nameBuilder)) : Timer(); in nest() [all …]
|
/llvm-project/lldb/include/lldb/Utility/ |
H A D | Timer.h | 23 class Timer { 31 friend class Timer; 43 Timer(Category &category, const char *format, ...) 51 ~Timer(); 75 Timer(const Timer &) = delete; 76 const Timer &operator=(const Timer &) = delete; 84 static ::lldb_private::Timer::Category _cat(LLVM_PRETTY_FUNCTION); \ 85 ::lldb_private::Timer _scoped_timer(_cat, "%s", LLVM_PRETTY_FUNCTION) 87 static ::lldb_private::Timer::Category _cat(LLVM_PRETTY_FUNCTION); \ 88 ::lldb_private::Timer _scoped_timer(_cat, __VA_ARGS__)
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | Timer.h | 1 //===-- llvm/Support/Timer.h - Interval Timing Support ----------*- C++ -*-===// 77 /// the Timer will print the amount of time it has captured to standard error 81 class Timer { 88 TimerGroup *TG = nullptr; ///< The TimerGroup this Timer is in. 90 Timer **Prev = nullptr; ///< Pointer to \p Next of previous timer in group. 91 Timer *Next = nullptr; ///< Next timer in the group. in Timer() function 93 explicit Timer(StringRef TimerName, StringRef TimerDescription) { in Timer() 96 Timer(StringRef TimerName, StringRef TimerDescription, TimerGroup &tg) { in Timer() 99 Timer(const Timer in Timer() 94 Timer(StringRef TimerName, StringRef TimerDescription, TimerGroup &tg) { Timer() function 97 Timer(const Timer &RHS) { Timer() function [all...] |
/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | timing.h | 30 class Timer { 32 // The use of Timer without binding to a TimingManager is supposed to do the in Timer() function 35 Timer() = default; in Timer() 36 Timer(Timer &&Other) in Timer() 42 Timer(const Timer &) = delete; in start() 44 ~Timer(); in start() 66 Timer(TimingManager &Manager, u32 HandleId) 78 class ScopedTimer : public Timer { in ~ScopedTimer() 62 Timer(TimingManager &Manager, u32 HandleId) Timer() function [all...] |
H A D | timing.cpp | 13 Timer::~Timer() { in ~Timer() 19 : Timer(Manager.getOrCreateTimer(Name)) { in ScopedTimer() 23 ScopedTimer::ScopedTimer(TimingManager &Manager, const Timer &Nest, in ScopedTimer() 25 : Timer(Manager.nest(Nest, Name)) { in ScopedTimer()
|
/llvm-project/lldb/source/Utility/ |
H A D | Timer.cpp | 29 typedef std::vector<Timer *> TimerStack; 30 static std::atomic<Timer::Category *> g_categories; 36 std::atomic<bool> Timer::g_quiet(true); 37 std::atomic<unsigned> Timer::g_display_depth(0); 48 Timer::Category::Category(const char *cat) : m_name(cat) { in Category() 58 void Timer::SetQuiet(bool value) { g_quiet = value; } in SetQuiet() 60 Timer::Timer(Timer::Category &category, const char *format, ...) in Timer() function in Timer 82 Timer::~Timer() { in ~Timer() 111 void Timer::SetDisplayDepth(uint32_t depth) { g_display_depth = depth; } in SetDisplayDepth() 130 void Timer::ResetCategoryTimes() { in ResetCategoryTimes() [all …]
|
/llvm-project/lld/include/lld/Common/ |
H A D | Timer.h | 23 class Timer; variable 26 explicit ScopedTimer(Timer &t); 34 Timer *t = nullptr; 37 class Timer { 39 Timer(llvm::StringRef name, Timer &parent); 42 explicit Timer(llvm::StringRef name); 53 std::vector<Timer *> children;
|
/llvm-project/llvm/lib/IR/ |
H A D | PassTimingInfo.cpp | 65 DenseMap<PassInstanceID, std::unique_ptr<Timer>> TimingData; ///< timers for pass instances 87 Timer *getPassTimer(Pass *, PassInstanceID); 92 Timer *newPassTimer(StringRef PassID, StringRef PassDesc); 121 Timer *PassTimingInfo::newPassTimer(StringRef PassID, StringRef PassDesc) { in newPassTimer() 127 return new Timer(PassID, PassDescNumbered, TG); in newPassTimer() 130 Timer *PassTimingInfo::getPassTimer(Pass *P, PassInstanceID Pass) { in getPassTimer() 136 std::unique_ptr<Timer> &T = TimingData[Pass]; in getPassTimer() 152 Timer *getPassTimer(Pass *P) { in getPassTimer() 172 Timer &TimePassesHandler::getPassTimer(StringRef PassID, bool IsPass) { in getPassTimer() 177 Timers.emplace_back(new Timer(PassI in getPassTimer() [all...] |
/llvm-project/lld/Common/ |
H A D | Timer.cpp | 18 ScopedTimer::ScopedTimer(Timer &t) : t(&t) { in ScopedTimer() 31 Timer::Timer(llvm::StringRef name) : total(0), name(std::string(name)) {} in Timer() function in Timer 32 Timer::Timer(llvm::StringRef name, Timer &parent) in Timer() function in Timer 37 void Timer::print() { in print() 51 double Timer::millis() const { in millis() 57 void Timer::print(int depth, double totalDuration, bool recurse) const { in print()
|
/llvm-project/libc/test/src/math/performance_testing/ |
H A D | Timer.cpp | 1 //===-- Timer.cpp --------------------------------------------------------===// 9 #include "Timer.h" 23 Timer::Timer() : Impl(new TimerImplementation) {} 25 Timer::~Timer() { delete reinterpret_cast<TimerImplementation *>(Impl); } 27 void Timer::start() { in start() 32 void Timer::stop() { in stop() 37 uint64_t Timer::nanoseconds() const { in nanoseconds() 22 Timer::Timer() : Impl(new TimerImplementation) {} Timer() function in LIBC_NAMESPACE::testing::Timer
|
H A D | Timer.h | 1 //===-- Timer.h -------------------------------------------------*- C++ -*-===// 18 class Timer { 22 Timer(); 23 ~Timer();
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | PassTimingInfo.h | 37 Timer *getPassTimer(Pass *); 54 using TimerVector = llvm::SmallVector<std::unique_ptr<Timer>, 4>; 60 SmallVector<Timer *, 8> PassActiveTimerStack; 63 SmallVector<Timer *, 8> AnalysisActiveTimerStack; 97 Timer &getPassTimer(StringRef PassID, bool IsPass);
|
/llvm-project/llvm/lib/Support/ |
H A D | Timer.cpp | 1 //===-- Timer.cpp - Interval Timing Support -------------------------------===// 13 #include "llvm/Support/Timer.h" 43 // Forward declarations for Managed Timer Globals getters. 89 // Timer Implementation 92 void Timer::init(StringRef TimerName, StringRef TimerDescription) { in initTimerOptions() 96 void Timer::init(StringRef TimerName, StringRef TimerDescription, in CreateInfoOutputFile() 98 assert(!TG && "Timer already initialized"); in CreateInfoOutputFile() 106 Timer::~Timer() { in CreateInfoOutputFile() 150 void Timer in ~Timer() [all...] |
/llvm-project/llvm/unittests/Support/ |
H A D | TimerTest.cpp | 1 //===- unittests/TimerTest.cpp - Timer tests ------------------------------===// 9 #include "llvm/Support/Timer.h" 39 TEST(Timer, Additivity) { in TEST() 40 Timer T1("T1", "T1"); in TEST() 56 TEST(Timer, CheckIfTriggered) { in TEST() 57 Timer T1("T1", "T1"); in TEST() 34 TEST(Timer,Additivity) TEST() argument 51 TEST(Timer,CheckIfTriggered) TEST() argument
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/run_debugger_internal_/ |
H A D | Tool.py | 16 from dex.utils import Timer 43 Timer.display = self.options.time_report 54 with Timer("loading debugger"): 57 with Timer("running debugger"):
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/ |
H A D | Main.py | 16 from dex.utils import PrettyOutput, Timer 142 with Timer(tool.name): 144 Timer.display = options.time_report 145 Timer.indent = options.indent_timer_level 146 Timer.fn = context.o.blue
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | unsafe-functions.c | 107 char *ctime(const time_t *Timer); in f4() 109 void f4(const time_t *Timer) { 110 ctime(Timer); 103 f4(const time_t * Timer) f4() argument
|
/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilWindows.cpp | 115 HANDLE Timer; in SetTimer() local 116 if (!CreateTimerQueueTimer(&Timer, TimerQueue, AlarmHandler, NULL, in SetTimer() 124 static TimerQ Timer; variable 132 Timer.SetTimer(Options.UnitTimeoutSec / 2 + 1); in SetSignalHandler()
|
/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectLog.cpp | 22 #include "lldb/Utility/Timer.h" 431 Timer::SetDisplayDepth(UINT32_MAX); in DoExecute() 439 Timer::SetDisplayDepth(depth); in DoExecute() 463 Timer::DumpCategoryTimes(result.GetOutputStream()); 464 Timer::SetDisplayDepth(0); in DoExecute() 485 Timer::DumpCategoryTimes(result.GetOutputStream()); 507 Timer::ResetCategoryTimes(); 546 Timer::SetQuiet(!increment); in DoExecute()
|
/llvm-project/lldb/source/Plugins/SymbolVendor/MacOSX/ |
H A D | SymbolVendorMacOSX.cpp | 99 static Timer::Category func_cat(LLVM_PRETTY_FUNCTION); in CreateInstance() 100 Timer scoped_timer(func_cat, in CreateInstance() 109 static Timer::Category func_cat2( in CreateInstance() 111 Timer scoped_timer2( in CreateInstance()
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/list_debuggers/ |
H A D | Tool.py | 13 from dex.utils import Timer 35 with Timer("list debuggers"):
|