diff options
author | Patrik Nyblom <[email protected]> | 2013-04-25 17:37:54 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2013-04-25 17:37:54 +0200 |
commit | 560226377bc9a732fb3a9c20dde907def56e3d30 (patch) | |
tree | 50b6e709ad80899fd8ca5419eda749f8f5a0d6da /erts/emulator/beam/global.h | |
parent | 408a4b2009213e40a6d303fce786aa7bc27c9697 (diff) | |
download | otp-560226377bc9a732fb3a9c20dde907def56e3d30.tar.gz otp-560226377bc9a732fb3a9c20dde907def56e3d30.tar.bz2 otp-560226377bc9a732fb3a9c20dde907def56e3d30.zip |
Add long_schedule detection for ports and testcases
Diffstat (limited to 'erts/emulator/beam/global.h')
-rwxr-xr-x | erts/emulator/beam/global.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 70459bfebc..5f41ed0dc4 100755 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1455,13 +1455,15 @@ void erts_system_profile_setup_active_schedulers(void); /* system_monitor */ void monitor_long_gc(Process *p, Uint time); -void monitor_long_schedule(Process *p, BeamInstr *in_i, BeamInstr *out_i, Uint time); +void monitor_long_schedule_proc(Process *p, BeamInstr *in_i, BeamInstr *out_i, Uint time); +void monitor_long_schedule_port(Port *pp, ErtsPortTaskType type, Uint time); void monitor_large_heap(Process *p); void monitor_generic(Process *p, Eterm type, Eterm spec); Uint erts_trace_flag2bit(Eterm flag); int erts_trace_flags(Eterm List, Uint *pMask, Eterm *pTracer, int *pCpuTimestamp); Eterm erts_bif_trace(int bif_index, Process* p, Eterm* args, BeamInstr *I); +Uint64 erts_timestamp_millis(void); #ifdef ERTS_SMP void erts_send_pending_trace_msgs(ErtsSchedulerData *esdp); |