mxnet.profiler.Event¶
-
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.
- Parameters
name (string) – Name of the event
Methods
__init__
(name)Initialize self.
start
()Start timing scope for this object
stop
()Stop timing scope for this object