Table Of Contents
Table Of Contents

mxnet.profiler

Profiler setting methods.

Profiling system control

set_config(**kwargs) Set up the configure of profiler (only accepts keyword arguments).
set_kvstore_handle(handle)
set_state([state, profile_process]) Set up the profiler state to ‘run’ or ‘stop’.
profiler_set_config([mode, filename]) Set up the configure of profiler (Deprecated).
profiler_set_state([state]) Set up the profiler state to ‘run’ or ‘stop’ (Deprecated).
pause([profile_process]) Pause profiling.
resume([profile_process]) Resume paused profiling.
dump([finished, profile_process]) Dump profile and stop profiler.
dump_profile() Dump profile and stop profiler.
dumps([reset]) Return a printable string of aggregate profile stats.

Profiling Objects

Counter(domain, name[, value]) Profiling Counter class.
Domain(name) Profiling domain, used to group sub-objects like tasks, counters, etc into categories Serves as part of ‘categories’ for chrome://tracing
Event(name) Profiling Event class.
Frame(domain, name) Profiling Frame class.
Marker(domain, name) Set marker for an instant in time.
Task(domain, name) Profiling Task class.