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

Unified Diff: runtime/vm/timeline.h

Issue 2977513002: [Fuchsia] Routes timeline events to Fuchsia's tracing app (Closed)
Patch Set: Cleanup Created 3 years, 5 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
Index: runtime/vm/timeline.h
diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h
index c7c6016693bd9489884608cbbb4e415f3cd322a1..ced35809e6f32e4a0a020620894aacb7859dafcd 100644
--- a/runtime/vm/timeline.h
+++ b/runtime/vm/timeline.h
@@ -318,6 +318,10 @@ class TimelineEvent {
// Returns the number of bytes written into |buffer|.
intptr_t PrintSystrace(char* buffer, intptr_t buffer_size);
+#if defined(HOST_OS_FUCHSIA)
+ void EmitFuchsiaEvent();
+#endif
+
private:
void FreeArguments();
@@ -433,6 +437,10 @@ class TimelineEventScope : public StackResource {
const char* label() const { return label_; }
+ TimelineEventArgument* arguments() const { return arguments_; }
+
+ intptr_t arguments_length() const { return arguments_length_; }
+
TimelineStream* stream() const { return stream_; }
virtual ~TimelineEventScope();
« no previous file with comments | « runtime/vm/BUILD.gn ('k') | runtime/vm/timeline.cc » ('j') | runtime/vm/timeline.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698