[clang-tools-extra] 56a10a3 - [clangd][trace] Fix comment to mention that trace spans are measured … (#86938)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 28 05:48:13 PDT 2024
Author: VitaNuo
Date: 2024-03-28T13:48:09+01:00
New Revision: 56a10a3c7930164a875db7c34da8c2a8b8abfbee
URL: https://github.com/llvm/llvm-project/commit/56a10a3c7930164a875db7c34da8c2a8b8abfbee
DIFF: https://github.com/llvm/llvm-project/commit/56a10a3c7930164a875db7c34da8c2a8b8abfbee.diff
LOG: [clangd][trace] Fix comment to mention that trace spans are measured … (#86938)
…in milliseconds rather than seconds.
Added:
Modified:
clang-tools-extra/clangd/support/Trace.h
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/support/Trace.h b/clang-tools-extra/clangd/support/Trace.h
index 1bfc75b874d8a9..36c3745a41e969 100644
--- a/clang-tools-extra/clangd/support/Trace.h
+++ b/clang-tools-extra/clangd/support/Trace.h
@@ -143,8 +143,8 @@ bool enabled();
class Span {
public:
Span(llvm::Twine Name);
- /// Records span's duration in seconds to \p LatencyMetric with \p Name as the
- /// label.
+ /// Records span's duration in milliseconds to \p LatencyMetric with \p Name
+ /// as the label.
Span(llvm::Twine Name, const Metric &LatencyMetric);
~Span();
More information about the cfe-commits
mailing list