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

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 02:32:04 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:

I renamed most the labels to follow the convention of [task we are tracking] -> [details] 

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


More information about the cfe-commits mailing list