# tensorplay.profiler Source: https://www.tensorplay.cn/docs/profiler.html ## Classes | tensorplay.profiler.EventList |Raw profiler events with analysis and export helpers. | | --- | --- | | tensorplay.profiler.FunctionEvent | Read-only object view over one collected event tuple. | | tensorplay.profiler.FunctionEventAvg | Aggregated statistics for one event group. | | tensorplay.profiler.Interval | An interval expressed in microseconds. | | tensorplay.profiler.ProfilerAction | Action selected for one profiler step. | | tensorplay.profiler.ProfilerActivity | Activity groups understood by the profiler. | | tensorplay.profiler.emit_itt | Emit instrumentation ranges for active operations. | | tensorplay.profiler.emit_nvtx | Emit named ranges for active operations. | | tensorplay.profiler.profile | Context manager that records dispatched operations and annotations. | | tensorplay.profiler.record_function | Mark a user-defined span in the active profiling session. | ## Functions | tensorplay.profiler.merge_distributed_traces |Merge per-process trace files into one trace document. | | --- | --- | | tensorplay.profiler.schedule | Build a callable that maps step numbers to profiler actions. | | tensorplay.profiler.supported_activities | Return activity groups available in this build. | | tensorplay.profiler.tensorboard_trace_handler | Create a callback that writes one trace file per completed cycle. |