Home / Class/ ITimer Class — pytorch Architecture

ITimer Class — pytorch Architecture

Architecture documentation for the ITimer class in Tunable.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/cuda/tunable/Tunable.h lines 253–263

class ITimer {
  public:
    ITimer() = default;
    virtual ~ITimer() = default;

    virtual void Start() = 0;
    virtual void End() = 0;

    /// Computes the elapsed time in milliseconds between Start() and End()
    virtual float Duration() = 0;
};

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free