================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to