Table Of Contents
Table Of Contents


class mxnet.profiler.Frame(domain, name)[source]

Profiling Frame class.

Use the frame API to insert calls to the desired places in your code and analyze performance per frame, where frame is the time period between frame begin and end points. When frames are displayed in Intel VTune Amplifier, they are displayed in a separate track, so they provide a way to visually separate this data from normal task data.

This is different from Task in that each ‘Frame’ duration will be a discretely-numbered event in the VTune output, as well as its rate (frame-rate) shown. This is analogous to profiling each frame of some visual output, such as rendering a video game frame.

  • domain (Domain object) – Domain to which this object belongs
  • name (string) – Name of the frame
__init__(domain, name)[source]

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


__init__(domain, name) Initialize self.
start() Start timing scope for this object
stop() Stop timing scope for this object