Home / Class/ StreamTimer Class — pytorch Architecture

StreamTimer Class — pytorch Architecture

Architecture documentation for the StreamTimer class in StreamTimer.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/cuda/tunable/StreamTimer.h lines 18–32

class StreamTimer : public ITimer {
  public:
    StreamTimer();
    ~StreamTimer() override;

    void Start() override;

    void End() override;

    float Duration() override;

  private:
    cudaEvent_t start_{};
    cudaEvent_t end_{};
};

Analyze Your Own Codebase

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

Try Supermodel Free