| /llvm-project-15.0.7/lld/COFF/ |
| H A D | COFFLinkerContext.h | 57 Timer rootTimer; 58 Timer inputFileTimer; 59 Timer ltoTimer; 60 Timer gcTimer; 61 Timer icfTimer; 64 Timer codeLayoutTimer; 66 Timer totalMapTimer; 69 Timer writeTimer; 73 Timer addObjectsTimer; 75 Timer loadGHashTimer; [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | TimerTest.cpp | 17 Timer::ResetCategoryTimes(); in TEST() 20 Timer t(tcat, "."); in TEST() 32 Timer::ResetCategoryTimes(); in TEST() 35 Timer t1(tcat1, "."); in TEST() 38 Timer t2(tcat1, "."); in TEST() 52 Timer::ResetCategoryTimes(); in TEST() 55 Timer t1(tcat1, "."); in TEST() 58 Timer t2(tcat2, "."); in TEST() 79 Timer t1(tcat1, "."); in TEST() 83 Timer t2(tcat2, "."); in TEST() [all …]
|
| /llvm-project-15.0.7/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('{} {} time taken: {:0.1f}s\n'.format( 41 Timer.fn('{}\n'.format(_indent(Timer.indent - 1))) [all …]
|
| H A D | __init__.py | 14 from dex.utils.Timer import Timer
|
| H A D | UnitTests.py | 17 from dex.utils import Timer 42 with Timer('unit tests'):
|
| /llvm-project-15.0.7/mlir/include/mlir/Support/ |
| H A D | Timing.h | 23 class Timer; variable 123 Timer getRootTimer(); 132 friend class Timer; 185 class Timer { 187 Timer() = default; 188 Timer(const Timer &other) = default; 189 Timer(Timer &&other) : Timer(other) { in Timer() function 194 Timer &operator=(Timer &&other) { 231 return tm ? Timer(*tm, tm->nestTimer(handle, id, nameBuilder)) : Timer(); in nest() 301 timer = Timer(); in stop() [all …]
|
| /llvm-project-15.0.7/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-15.0.7/llvm/include/llvm/Support/ |
| H A D | Timer.h | 81 class Timer { 99 Timer(const Timer &RHS) { in Timer() function 102 const Timer &operator=(const Timer &T) { 106 ~Timer(); 109 explicit Timer() = default; 146 Timer *T; 150 explicit TimeRegion(Timer &t) : T(&t) { in TimeRegion() 153 explicit TimeRegion(Timer *t) : T(t) { in TimeRegion() 244 friend class Timer; 246 void addTimer(Timer &T); [all …]
|
| /llvm-project-15.0.7/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-15.0.7/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-15.0.7/lld/Common/ |
| H A D | Timer.cpp | 17 ScopedTimer::ScopedTimer(Timer &t) : t(&t) { in ScopedTimer() 30 Timer::Timer(llvm::StringRef name) : total(0), name(std::string(name)) {} in Timer() function in Timer 31 Timer::Timer(llvm::StringRef name, Timer &parent) in Timer() function in Timer 36 void Timer::print() { in print() 50 double Timer::millis() const { in millis() 56 void Timer::print(int depth, double totalDuration, bool recurse) const { in print()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | PassTimingInfo.cpp | 87 Timer *getPassTimer(Pass *, PassInstanceID); 128 return new Timer(PassID, PassDescNumbered, TG); in newPassTimer() 137 std::unique_ptr<Timer> &T = TimingData[Pass]; in getPassTimer() 153 Timer *getPassTimer(Pass *P) { in getPassTimer() 173 Timer &TimePassesHandler::getPassTimer(StringRef PassID) { in getPassTimer() 177 Timers.emplace_back(new Timer(PassID, PassID, TG)); in getPassTimer() 188 Timer *T = new Timer(PassID, FullDesc, TG); in getPassTimer() 219 const Timer* MyTimer = MyTimers[idx].get(); in dump() 229 const Timer* MyTimer = MyTimers[idx].get(); in dump() 237 Timer &MyTimer = getPassTimer(PassID); in startTimer() [all …]
|
| /llvm-project-15.0.7/libc/utils/testutils/ |
| H A D | Timer.cpp | 22 Timer::Timer() : Impl(new TimerImplementation) {} in Timer() function in __llvm_libc::testing::Timer 24 Timer::~Timer() { delete reinterpret_cast<TimerImplementation *>(Impl); } in ~Timer() 26 void Timer::start() { in start() 31 void Timer::stop() { in stop() 36 uint64_t Timer::nanoseconds() const { in nanoseconds()
|
| H A D | Timer.h | 17 class Timer { 21 Timer(); 22 ~Timer();
|
| H A D | CMakeLists.txt | 16 Timer.h 17 Timer.cpp
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | TimerTest.cpp | 34 TEST(Timer, Additivity) { in TEST() argument 35 Timer T1("T1", "T1"); in TEST() 51 TEST(Timer, CheckIfTriggered) { in TEST() argument 52 Timer T1("T1", "T1"); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Timer.cpp | 136 void Timer::init(StringRef TimerName, StringRef TimerDescription, in init() 146 Timer::~Timer() { in ~Timer() 190 void Timer::startTimer() { in startTimer() 197 void Timer::stopTimer() { in stopTimer() 205 void Timer::clear() { in clear() 241 typedef StringMap<Timer> Name2TimerMap; 261 Timer &T = GroupEntry.second[Name]; in get() 323 void TimerGroup::removeTimer(Timer &T) { in removeTimer() 346 void TimerGroup::addTimer(Timer &T) { in addTimer() 410 for (Timer *T = FirstTimer; T; T = T->Next) { in prepareToPrintList() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | PassTimingInfo.h | 37 Timer *getPassTimer(Pass *); 53 using TimerVector = llvm::SmallVector<std::unique_ptr<Timer>, 4>; 58 SmallVector<Timer *, 8> TimerStack; 92 Timer &getPassTimer(StringRef PassID);
|
| /llvm-project-15.0.7/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-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/ |
| H A D | Main.py | 17 from dex.utils import PrettyOutput, Timer 136 with Timer(tool.name): 138 Timer.display = options.time_report 139 Timer.indent = options.indent_timer_level 140 Timer.fn = context.o.blue
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtilWindows.cpp | 110 HANDLE Timer; in SetTimer() local 111 if (!CreateTimerQueueTimer(&Timer, TimerQueue, AlarmHandler, NULL, in SetTimer() 119 static TimerQ Timer; variable 127 Timer.SetTimer(Options.UnitTimeoutSec / 2 + 1); in SetSignalHandler()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Preamble.cpp | 412 TimerFile(WallTimer &Timer, std::unique_ptr<File> InnerFile) in TimerFile() argument 413 : Timer(Timer), InnerFile(std::move(InnerFile)) {} in TimerFile() 416 WallTimerRegion T(Timer); in status() 422 WallTimerRegion T(Timer); in getBuffer() 427 WallTimerRegion T(Timer); in close() 432 WallTimer &Timer; member in clang::clangd::__anoncf7fbb130111::TimerFile 445 WallTimerRegion T(Timer); in openFileForRead() 449 return std::make_unique<TimerFile>(Timer, std::move(FileOr.get())); in openFileForRead() 453 WallTimerRegion T(Timer); in status() 457 double getTime() { return Timer.getTime(); } in getTime() [all …]
|
| /llvm-project-15.0.7/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'):
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/MacOSX/ |
| H A D | SymbolVendorMacOSX.cpp | 101 static Timer::Category func_cat(LLVM_PRETTY_FUNCTION); in CreateInstance() 102 Timer scoped_timer(func_cat, in CreateInstance() 111 static Timer::Category func_cat2( in CreateInstance() 113 Timer scoped_timer2( in CreateInstance()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectLog.cpp | 460 Timer::SetDisplayDepth(UINT32_MAX); in DoExecute() 468 Timer::SetDisplayDepth(depth); in DoExecute() 493 Timer::DumpCategoryTimes(&result.GetOutputStream()); in DoExecute() 494 Timer::SetDisplayDepth(0); in DoExecute() 516 Timer::DumpCategoryTimes(&result.GetOutputStream()); in DoExecute() 539 Timer::ResetCategoryTimes(); in DoExecute() 591 Timer::SetQuiet(!increment); in DoExecute()
|