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

Unified Diff: runtime/vm/native_api_impl.cc

Issue 109803002: Profiler Take 2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/native_api_impl.cc
diff --git a/runtime/vm/native_api_impl.cc b/runtime/vm/native_api_impl.cc
index cb21834c9d0162232ea653dc9e508932baa9129c..f333eee574b4b43365effee26bdacfaefe92dac1 100644
--- a/runtime/vm/native_api_impl.cc
+++ b/runtime/vm/native_api_impl.cc
@@ -11,6 +11,7 @@
#include "vm/message.h"
#include "vm/native_message_handler.h"
#include "vm/port.h"
+#include "vm/thread_interrupter.h"
namespace dart {
@@ -81,6 +82,11 @@ DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size) {
}
+DART_EXPORT void Dart_ShutdownThreadInterrupter() {
+ ThreadInterrupter::Shutdown();
+}
+
+
// --- Heap Profiler ---
DART_EXPORT Dart_Handle Dart_HeapProfile(Dart_FileWriteCallback callback,

Powered by Google App Engine
This is Rietveld 408576698