[PATCH] D86077: [clangd] Add a way for exporting memory usage metrics
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 17 09:17:42 PDT 2020
kadircet updated this revision to Diff 286043.
kadircet marked an inline comment as done.
kadircet added a comment.
- Rename the overload
- Add comments around possible caveats that might result in inaccuracies.
- Move the metric recording itself into another thread.
- Keep the calculations in the main thread, as they seemed to have <1ms latency, even with huge preambles/asts.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86077/new/
https://reviews.llvm.org/D86077
Files:
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/index/FileIndex.cpp
clang-tools-extra/clangd/support/Trace.cpp
clang-tools-extra/clangd/support/Trace.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86077.286043.patch
Type: text/x-patch
Size: 5809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200817/a7c382dd/attachment.bin>
More information about the cfe-commits
mailing list