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

#include <Timer.h>

Public Member Functions

 ScopedTimer (const std::string &msg)
 
 ~ScopedTimer ()
 

Public Attributes

std::chrono::time_point< Clockstart
 
std::string msg
 

Detailed Description

Definition at line 17 of file Timer.h.

Constructor & Destructor Documentation

◆ ScopedTimer()

Halide::Internal::Autoscheduler::ScopedTimer::ScopedTimer ( const std::string &  msg)
inline

Definition at line 21 of file Timer.h.

References msg.

◆ ~ScopedTimer()

Halide::Internal::Autoscheduler::ScopedTimer::~ScopedTimer ( )
inline

Definition at line 26 of file Timer.h.

References msg, and start.

Member Data Documentation

◆ start

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

Definition at line 18 of file Timer.h.

Referenced by ~ScopedTimer().

◆ msg

std::string Halide::Internal::Autoscheduler::ScopedTimer::msg

Definition at line 19 of file Timer.h.

Referenced by ScopedTimer(), and ~ScopedTimer().


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