Table Of Contents
Table Of Contents

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

__init__(name)[source]

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

Methods

__init__(name)

Initialize self.

start()

Start timing scope for this object

stop()

Stop timing scope for this object