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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits