Skip to content

tenzr::profiler::StepMarker

RAII helper that marks the start and end of a training step.

#include <trace.h>

Public Functions

Name
StepMarker(int64_t step, std::string name ="Step")
~StepMarker()
StepMarker(const StepMarker & ) =delete
StepMarker & operator=(const StepMarker & ) =delete

Public Functions Documentation

function StepMarker

inline explicit StepMarker(
    int64_t step,
    std::string name ="Step"
)

function ~StepMarker

inline ~StepMarker()

function StepMarker

StepMarker(
    const StepMarker & 
) =delete

function operator=

StepMarker & operator=(
    const StepMarker & 
) =delete