[clang-tools-extra] [clang-doc] add ftime profiling (PR #97644)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 18:07:07 PDT 2024
================
@@ -681,6 +683,7 @@ llvm::Error ClangDocBitcodeReader::readRecord(unsigned ID, Reference *I) {
// Read a block of records into a single info.
template <typename T>
llvm::Error ClangDocBitcodeReader::readBlock(unsigned ID, T I) {
+ llvm::TimeTraceScope("readBlock", "ClangDocBitcodeReader");
----------------
ilovepi wrote:
Actually, looking at these, I'm not sure I follow the organizational structure of these. How did you decide what's the `Name` and what's the `Detail`? is there some logic to this?
https://github.com/llvm/llvm-project/pull/97644
More information about the cfe-commits
mailing list