Table Of Contents
Table Of Contents


class mxnet.profiler.Event(name)[source]

Profiling Event class.

The event API is used to observe when demarcated events occur in your application, or to identify how long it takes to execute demarcated regions of code. Set annotations in the application to demarcate areas where events of interest occur. After running analysis, you can see the events marked in the Timeline pane. Event API is a per-thread function that works in resumed state. This function does not work in paused state.


name (string) – Name of the event


Initialize self. See help(type(self)) for accurate signature.



Initialize self.


Start timing scope for this object


Stop timing scope for this object