Home
last modified time | relevance | path

Searched refs:StartTime (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp133 auto StartTime = stopwatch::now(); in Lookup() local
171 logRequestSummary("v1/Lookup", Sent, StartTime); in Lookup()
178 auto StartTime = stopwatch::now(); in FuzzyFind() local
215 logRequestSummary("v1/FuzzyFind", Sent, StartTime); in FuzzyFind()
221 auto StartTime = stopwatch::now(); in Refs() local
257 logRequestSummary("v1/Refs", Sent, StartTime); in Refs()
264 auto StartTime = stopwatch::now(); in Relations() local
303 logRequestSummary("v1/Relations", Sent, StartTime); in Relations()
323 stopwatch::time_point StartTime) { in logRequestSummary() argument
324 auto Duration = stopwatch::now() - StartTime; in logRequestSummary()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DTrace.cpp91 : StartTime(Tracer->timestamp()), EndTime(0), Name(Name), in JSONSpan()
107 OriginTime = (*Parent)->StartTime; in JSONSpan()
115 (*Parent)->TID, (*Parent)->StartTime); in JSONSpan()
131 {"dur", EndTime - StartTime}}, in ~JSONSpan()
132 TID, StartTime); in ~JSONSpan()
146 double StartTime; member in clang::clangd::trace::__anonf4523cc60111::JSONTracer::JSONSpan
293 [StartTime = Clock::now(), Name = Name.str(), &LatencyMetric] { in makeSpanContext()
296 StartTime) in makeSpanContext()
/llvm-project-15.0.7/llvm/lib/Support/
H A DTimeProfiler.cpp62 steady_clock::rep getFlameGraphStartUs(TimePointType StartTime) const { in getFlameGraphStartUs()
64 time_point_cast<microseconds>(StartTime)) in getFlameGraphStartUs()
78 : BeginningOfTime(system_clock::now()), StartTime(steady_clock::now()), in TimeTraceProfiler()
96 (E.getFlameGraphStartUs(StartTime) + E.getFlameGraphDurUs() >= in end()
97 Entries.back().getFlameGraphStartUs(StartTime) + in end()
141 auto StartUs = E.getFlameGraphStartUs(StartTime); in write()
252 const TimePointType StartTime; member
H A DLockFileManager.cpp310 auto StartTime = std::chrono::steady_clock::now(); in waitForUnlock() local
340 std::chrono::steady_clock::now() - StartTime) in waitForUnlock()
H A DTimer.cpp194 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
201 Time -= StartTime; in stopTimer()
207 Time = StartTime = TimeRecord(); in clear()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DClient.cpp78 std::chrono::system_clock::time_point StartTime = in streamRPC() local
80 auto Deadline = StartTime + DeadlineWaitingTime; in streamRPC()
105 std::chrono::system_clock::now() - StartTime) in streamRPC()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dpr9130.cpp4 virtual int StartTime() { in StartTime() function in nsOggCodecState
/llvm-project-15.0.7/libc/benchmarks/
H A DLibcBenchmark.h212 const auto StartTime = Clock.now();
218 const Duration Elapsed = EndTime - StartTime;
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DPreamble.cpp386 void startTimer() { StartTime = std::chrono::steady_clock::now(); } in startTimer()
389 TotalTime += std::chrono::steady_clock::now() - StartTime; in stopTimer()
396 std::chrono::steady_clock::time_point StartTime; member in clang::clangd::__anoncf7fbb130111::WallTimer
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DTimer.h83 TimeRecord StartTime; ///< The time startTimer() was last called. variable
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp703 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl() local
816 os << "\"wall\": " << (EndTime.getWallTime() - StartTime.getWallTime()); in clang_codeCompleteAt_Impl()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp857 auto StartTime = system_clock::now(); in FuzzerDriver() local
862 auto MS = duration_cast<milliseconds>(StopTime - StartTime).count(); in FuzzerDriver()