[clang-tools-extra] r318316 - [clangd] Fix time units in clangd performance trace
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 15 09:53:46 PST 2017
Author: sammccall
Date: Wed Nov 15 09:53:46 2017
New Revision: 318316
URL: http://llvm.org/viewvc/llvm-project?rev=318316&view=rev
Log:
[clangd] Fix time units in clangd performance trace
Modified:
clang-tools-extra/trunk/clangd/Trace.cpp
Modified: clang-tools-extra/trunk/clangd/Trace.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Trace.cpp?rev=318316&r1=318315&r2=318316&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Trace.cpp (original)
+++ clang-tools-extra/trunk/clangd/Trace.cpp Wed Nov 15 09:53:46 2017
@@ -74,7 +74,7 @@ private:
double timestamp() {
using namespace std::chrono;
- return duration<double, std::milli>(system_clock::now() - Start).count();
+ return duration<double, std::micro>(system_clock::now() - Start).count();
}
std::mutex Mu;
More information about the cfe-commits
mailing list