[clang-tools-extra] [clang-doc] add ftime profiling (PR #97644)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 12 03:29:54 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");
----------------
PeterChou1 wrote:

there's really no logic I've updated the pr, so that it follow the convention of naming it after the scope or method the timescope is in


https://github.com/llvm/llvm-project/pull/97644


More information about the cfe-commits mailing list