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

Unified Diff: vm/dart.h

Issue 10446116: Add flow graph printing into a .cfg file with flag --print-flow-graph-file. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 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: vm/dart.h
===================================================================
--- vm/dart.h (revision 8145)
+++ vm/dart.h (working copy)
@@ -33,10 +33,17 @@
}
static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; }
+ static void set_flow_graph_writer(FileWriterFunction writer_function) {
+ flow_graph_writer_ = writer_function;
+ }
+
+ static FileWriterFunction flow_graph_writer() { return flow_graph_writer_; }
+
private:
static Isolate* vm_isolate_;
static ThreadPool* thread_pool_;
static DebugInfo* pprof_symbol_generator_;
+ static FileWriterFunction flow_graph_writer_;
siva 2012/06/04 18:23:57 If you have this as a static function with a stati
Florian Schneider 2012/06/06 11:06:10 It does not work. I'm fine for now with it workin
siva 2012/06/06 17:02:47 Having one file per isolate is probably the way to
Florian Schneider 2012/06/07 09:32:26 I can add a TODO. I don't think this is a typical
};
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698