| Index: runtime/vm/runtime_entry.h
|
| ===================================================================
|
| --- runtime/vm/runtime_entry.h (revision 32801)
|
| +++ runtime/vm/runtime_entry.h (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include "vm/assembler.h"
|
| #include "vm/flags.h"
|
| #include "vm/native_arguments.h"
|
| +#include "vm/timer_scope.h"
|
|
|
| namespace dart {
|
|
|
| @@ -61,6 +62,7 @@
|
| static void DRT_Helper##name(Isolate* isolate, NativeArguments arguments); \
|
| void DRT_##name(NativeArguments arguments) { \
|
| CHECK_STACK_ALIGNMENT; \
|
| + DartToVmTimerScope timer(arguments.isolate()); \
|
| VERIFY_ON_TRANSITION; \
|
| ASSERT(arguments.ArgCount() == argument_count); \
|
| if (FLAG_trace_runtime_calls) OS::Print("Runtime call: %s\n", ""#name); \
|
|
|