Home
last modified time | relevance | path

Searched refs:Timer (Results 1 – 25 of 73) sorted by relevance

123

/openbsd-src/gnu/llvm/lld/COFF/
H A DCOFFLinkerContext.h65 Timer rootTimer;
66 Timer inputFileTimer;
67 Timer ltoTimer;
68 Timer gcTimer;
69 Timer icfTimer;
72 Timer codeLayoutTimer;
73 Timer outputCommitTimer;
74 Timer totalMapTimer;
75 Timer symbolGatherTimer;
76 Timer symbolStringsTimer;
[all …]
H A DPDB.h21 class Timer; variable
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DTimer.h23 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__)
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DTimer.h81 class Timer {
90 Timer **Prev = nullptr; ///< Pointer to \p Next of previous timer in group.
91 Timer *Next = nullptr; ///< Next timer in the group.
93 explicit Timer(StringRef TimerName, StringRef TimerDescription) { in Timer() function
96 Timer(StringRef TimerName, StringRef TimerDescription, TimerGroup &tg) { in Timer() function
99 Timer(const Timer &RHS) { in Timer() function
102 const Timer &operator=(const Timer &T) {
106 ~Timer();
109 explicit Timer() = default;
146 Timer *T;
[all …]
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DTimer.cpp29 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 …]
/openbsd-src/gnu/llvm/lld/include/lld/Common/
H A DTimer.h23 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;
/openbsd-src/gnu/llvm/lld/Common/
H A DTimer.cpp17 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()
H A DCMakeLists.txt33 Timer.cpp
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DPassTimingInfo.cpp65 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(PassID, PassID, TG)); in getPassTimer()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DPassTimingInfo.h37 Timer *getPassTimer(Pass *);
54 using TimerVector = llvm::SmallVector<std::unique_ptr<Timer>, 4>;
59 Timer *ActivePassTimer = nullptr;
62 SmallVector<Timer *, 8> AnalysisActiveTimerStack;
96 Timer &getPassTimer(StringRef PassID, bool IsPass);
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DTimer.cpp132 void Timer::init(StringRef TimerName, StringRef TimerDescription) { in init()
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;
252 Timer &get(StringRef Name, StringRef Description, StringRef GroupName, in get()
261 Timer &T = GroupEntry.second[Name]; in get()
323 void TimerGroup::removeTimer(Timer &T) { in removeTimer()
[all …]
/openbsd-src/usr.sbin/bgpd/
H A Dsession.h171 enum Timer {
191 enum Timer type;
239 enum Timer type;
344 struct timer *timer_get(struct timer_head *, enum Timer);
347 int timer_running(struct timer_head *, enum Timer, time_t *);
348 void timer_set(struct timer_head *, enum Timer, u_int);
349 void timer_stop(struct timer_head *, enum Timer);
350 void timer_remove(struct timer_head *, enum Timer);
165 enum Timer { global() enum
H A Dtimer.c40 timer_get(struct timer_head *th, enum Timer timer) in timer_get()
73 timer_running(struct timer_head *th, enum Timer timer, time_t *left) in timer_running()
86 timer_set(struct timer_head *th, enum Timer timer, u_int offset) in timer_set()
113 timer_stop(struct timer_head *th, enum Timer timer) in timer_stop()
125 timer_remove(struct timer_head *th, enum Timer timer) in timer_remove()
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerUtilWindows.cpp110 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()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/MacOSX/
H A DSymbolVendorMacOSX.cpp100 static Timer::Category func_cat(LLVM_PRETTY_FUNCTION); in CreateInstance()
101 Timer scoped_timer(func_cat, in CreateInstance()
110 static Timer::Category func_cat2( in CreateInstance()
112 Timer scoped_timer2( in CreateInstance()
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectLog.cpp460 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()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp115 std::unique_ptr<llvm::Timer> SyntaxCheckTimer;
116 std::unique_ptr<llvm::Timer> ExprEngineTimer;
117 std::unique_ptr<llvm::Timer> BugReporterTimer;
135 SyntaxCheckTimer = std::make_unique<llvm::Timer>( in AnalysisConsumer()
137 ExprEngineTimer = std::make_unique<llvm::Timer>( in AnalysisConsumer()
139 BugReporterTimer = std::make_unique<llvm::Timer>( in AnalysisConsumer()
/openbsd-src/gnu/llvm/llvm/utils/yaml-bench/
H A DYAMLBench.cpp147 llvm::Timer BaseLine((Name + ".loop").str(), (Description + ": Loop").str(), in benchmark()
157 llvm::Timer Tokenizing((Name + ".tokenizing").str(), in benchmark()
165 llvm::Timer Parsing((Name + ".parsing").str(), in benchmark()
/openbsd-src/gnu/usr.bin/clang/liblldCommon/
H A DMakefile19 Timer.cpp \
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DRNBSocket.h56 DNBTimer &Timer() { return m_timer; } in Timer() function
/openbsd-src/gnu/llvm/lldb/examples/python/
H A Dperformance.py61 class Timer: class
363 with Timer() as total_time:
366 with Timer() as breakpoint_timer:
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DCompilerInstance.h35 class Timer; variable
117 std::unique_ptr<llvm::Timer> FrontendTimer;
578 llvm::Timer &getFrontendTimer() const { in getFrontendTimer()
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lld/Common/
H A DBUILD.gn44 "Timer.cpp",
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp433 TimeBucketRegion Timer; in onStartOfTranslationUnit() local
436 Timer.setBucket(&TimeByBucket[MC->getID()]); in onStartOfTranslationUnit()
443 TimeBucketRegion Timer; in onEndOfTranslationUnit() local
446 Timer.setBucket(&TimeByBucket[MC->getID()]); in onEndOfTranslationUnit()
1014 TimeBucketRegion Timer; in matchWithoutFilter() local
1017 Timer.setBucket(&TimeByBucket[MP.second->getID()]); in matchWithoutFilter()
1037 TimeBucketRegion Timer; in matchWithFilter() local
1042 Timer.setBucket(&TimeByBucket[MP.second->getID()]); in matchWithFilter()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/Test/
H A DHarness.pm63 our $Timer = $ENV{HARNESS_TIMER} || 0;
214 timer => $Timer,

123