Halide  12.0.1
Halide compiler and libraries
Halide::Internal::Autoscheduler::Timer Struct Reference

#include <Timer.h>

Public Member Functions

 Timer ()
 
void restart ()
 
std::chrono::duration< double > elapsed () const
 

Public Attributes

std::chrono::time_point< Clockstart
 

Detailed Description

Definition at line 33 of file Timer.h.

Constructor & Destructor Documentation

◆ Timer()

Halide::Internal::Autoscheduler::Timer::Timer ( )
inline

Definition at line 36 of file Timer.h.

Member Function Documentation

◆ restart()

void Halide::Internal::Autoscheduler::Timer::restart ( )
inline

Definition at line 40 of file Timer.h.

References start.

◆ elapsed()

std::chrono::duration<double> Halide::Internal::Autoscheduler::Timer::elapsed ( ) const
inline

Definition at line 44 of file Timer.h.

References start.

Member Data Documentation

◆ start

std::chrono::time_point<Clock> Halide::Internal::Autoscheduler::Timer::start

Definition at line 34 of file Timer.h.

Referenced by elapsed(), and restart().


The documentation for this struct was generated from the following file: