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

Unified Diff: runtime/vm/isolate.h

Issue 1275113003: Endless thread safe timeline recorder (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « runtime/vm/dart.cc ('k') | runtime/vm/thread.h » ('j') | runtime/vm/thread.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index c43a3fa7f5fa6c3075a8c8ec8e0bb5f50d77d6b2..0f95e69980894291e5f69fa409909b47b1d349ae 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -569,6 +569,13 @@ class Isolate : public BaseIsolate {
return timeline_event_recorder_;
}
+ TimelineEventBlock* GetNewTimelineBlock() {
+ if (timeline_event_recorder_ == NULL) {
+ return NULL;
+ }
+ return timeline_event_recorder_->GetNewBlock();
+ }
+
void RemoveTimelineEventRecorder();
DeoptContext* deopt_context() const { return deopt_context_; }
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/thread.h » ('j') | runtime/vm/thread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698