Index: runtime/vm/dart_api_impl.cc |
=================================================================== |
--- runtime/vm/dart_api_impl.cc (revision 32126) |
+++ runtime/vm/dart_api_impl.cc (working copy) |
@@ -3195,6 +3195,9 @@ |
Isolate* isolate = Isolate::Current(); |
DARTSCOPE(isolate); |
CHECK_CALLBACK_STATE(isolate); |
+ // TODO(turnidge): This is a bit simplistic. It overcounts when |
+ // other operations (gc, compilation) are active. |
+ TIMERSCOPE(time_dart_execution); |
const String& function_name = Api::UnwrapStringHandle(isolate, name); |
if (function_name.IsNull()) { |