[clang] [llvm] Added instant events and marking defered templated instantiation. (PR #103039)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 29 06:01:46 PDT 2024


================
@@ -104,6 +105,23 @@ struct llvm::TimeTraceProfilerEntry {
   }
 };
 
+struct InProgressEntry {
+  std::unique_ptr<TimeTraceProfilerEntry> Event;
+  std::vector<TimeTraceProfilerEntry> InstantEvents;
----------------
usx95 wrote:

Can you add documentation about InstantEvents and that they are associated with a parent duration and they are dropped if parent duration is shorter than the granularity.

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


More information about the cfe-commits mailing list