From 5e4a77f0c4e7e8122e8ee3a15fff0971f5db2244 Mon Sep 17 00:00:00 2001 From: Kadir Cetinkaya Date: Thu, 28 Apr 2022 14:27:43 +0200 Subject: [PATCH] [clangd] Record latency for ASTSignal derivation --- clang-tools-extra/clangd/ASTSignals.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang-tools-extra/clangd/ASTSignals.cpp b/clang-tools-extra/clangd/ASTSignals.cpp index 58c57e14..8476641 100644 --- a/clang-tools-extra/clangd/ASTSignals.cpp +++ b/clang-tools-extra/clangd/ASTSignals.cpp @@ -9,10 +9,12 @@ #include "ASTSignals.h" #include "AST.h" #include "FindTarget.h" +#include "support/Trace.h" namespace clang { namespace clangd { ASTSignals ASTSignals::derive(const ParsedAST &AST) { + trace::Span Span("ASTSignals::derive"); ASTSignals Signals; const SourceManager &SM = AST.getSourceManager(); findExplicitReferences( -- 2.7.4