Home
last modified time | relevance | path

Searched refs:stopwatch (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/benchmarks/expression/
H A DTestRepeatedExprs.py37 print("lldb benchmark:", self.stopwatch)
39 print("gdb benchmark:", self.stopwatch)
71 self.stopwatch.reset()
73 with self.stopwatch:
87 self.lldb_avg = self.stopwatch.avg()
89 print("lldb expression benchmark:", str(self.stopwatch))
117 self.stopwatch.reset()
119 with self.stopwatch:
135 self.gdb_avg = self.stopwatch.avg()
137 print("gdb expression benchmark:", str(self.stopwatch))
H A DTestExpressionCmd.py35 print("lldb expr cmd benchmark:", self.stopwatch)
46 self.stopwatch.reset()
68 with self.stopwatch:
/llvm-project-15.0.7/lldb/test/API/benchmarks/turnaround/
H A DTestCompileRunToBreakpointTurnaround.py35 print("lldb turnaround benchmark:", self.stopwatch)
37 print("gdb turnaround benchmark:", self.stopwatch)
65 self.stopwatch.reset()
73 with self.stopwatch:
82 self.lldb_avg = self.stopwatch.avg()
108 self.stopwatch.reset()
116 with self.stopwatch:
127 self.gdb_avg = self.stopwatch.avg()
/llvm-project-15.0.7/lldb/test/API/benchmarks/frame_variable/
H A DTestFrameVariableResponse.py31 print("lldb frame variable benchmark:", self.stopwatch)
40 self.stopwatch.reset()
60 with self.stopwatch:
/llvm-project-15.0.7/lldb/test/API/benchmarks/stepping/
H A DTestSteppingSpeed.py35 print("lldb stepping benchmark:", self.stopwatch)
60 self.stopwatch.reset()
62 with self.stopwatch:
/llvm-project-15.0.7/lldb/test/API/benchmarks/startup/
H A DTestStartupDelays.py38 self.stopwatch)
53 self.stopwatch.reset()
66 with self.stopwatch:
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DGlobalCompilationDatabase.cpp82 using stopwatch = std::chrono::steady_clock; typedef in clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache
118 std::atomic<stopwatch::rep> NoCDBAt = {
119 stopwatch::time_point::min().time_since_epoch().count()};
124 stopwatch::time_point CachePopulatedAt = stopwatch::time_point::min();
162 stopwatch::time_point FreshTime, stopwatch::time_point FreshTimeMissing) { in get()
164 if (stopwatch::time_point(stopwatch::duration(NoCDBAt.load())) > in get()
190 CachePopulatedAt = stopwatch::now(); in get()
191 NoCDBAt.store((CDB ? stopwatch::time_point::min() : CachePopulatedAt) in get()
324 if (CachePopulatedAt > stopwatch::time_point::min()) in load()
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dlldbbench.py112 self.stopwatch = Stopwatch()
118 del self.stopwatch
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp128 using stopwatch = std::chrono::steady_clock; typedef in clang::clangd::remote::__anon9e7a2e2a0111::RemoteIndexServer
133 auto StartTime = stopwatch::now(); in Lookup()
178 auto StartTime = stopwatch::now(); in FuzzyFind()
221 auto StartTime = stopwatch::now(); in Refs()
264 auto StartTime = stopwatch::now(); in Relations()
323 stopwatch::time_point StartTime) { in logRequestSummary()
324 auto Duration = stopwatch::now() - StartTime; in logRequestSummary()