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

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 15:13:59 PDT 2024


================
@@ -83,6 +83,19 @@ namespace llvm {
 
 class raw_pwrite_stream;
 
+// Type of the time trace event.
+enum class TimeTraceEventType {
+  // Complete events have a duration (start and end time points) and are marked
+  // by the "X" phase type.
+  CompleteEvent,
----------------
usx95 wrote:

AsyncEvent are also "complete" events with a begin and an end.
Let's call this SyncEvent instead and say that "Sync events are synchronous events having a duration (start and end time points). These are usually created using a 'TimeTraceScope' RAII object. These are marked with the "X" phase type.

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


More information about the cfe-commits mailing list