Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: runtime/include/dart_tools_api.h

Issue 1849643002: Add support for async, metadata, and counter timeline events to be reported by the embedder (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_tools_api.h
diff --git a/runtime/include/dart_tools_api.h b/runtime/include/dart_tools_api.h
index c880e17c0872c813493ddfd48b1dba9a667861ee..8136726d8111b3f0cc7ddb7c1a2e93630b455c61 100644
--- a/runtime/include/dart_tools_api.h
+++ b/runtime/include/dart_tools_api.h
@@ -983,10 +983,15 @@ DART_EXPORT bool Dart_GlobalTimelineGetTrace(Dart_StreamConsumer consumer,
void* user_data);
typedef enum {
- Dart_Timeline_Event_Begin, // Phase = 'B'.
- Dart_Timeline_Event_End, // Phase = 'E'.
- Dart_Timeline_Event_Instant, // Phase = 'i'.
- Dart_Timeline_Event_Duration, // Phase = 'X'.
+ Dart_Timeline_Event_Begin, // Phase = 'B'.
+ Dart_Timeline_Event_End, // Phase = 'E'.
+ Dart_Timeline_Event_Instant, // Phase = 'i'.
+ Dart_Timeline_Event_Duration, // Phase = 'X'.
+ Dart_Timeline_Event_Async_Begin, // Phase = 'b'.
+ Dart_Timeline_Event_Async_End, // Phase = 'e'.
+ Dart_Timeline_Event_Async_Instant, // Phase = 'n'.
+ Dart_Timeline_Event_Counter, // Phase = 'C'.
+ Dart_Timeline_Event_Metadata, // Phase = 'M'.
} Dart_Timeline_Event_Type;
/**
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698