Tiramisu Compiler
tiramisu_timer Class Reference

#include <utils.h>

Public Member Functions

void start ()
void stop ()
void print (std::string bench_name)

Public Attributes

std::chrono::time_point< std::chrono::system_clock > start_timing
std::chrono::time_point< std::chrono::system_clock > end_timing

Detailed Description

Definition at line 252 of file utils.h.

Member Function Documentation

void tiramisu_timer::print ( std::string  bench_name)

Definition at line 267 of file utils.h.

References start_timing.

void tiramisu_timer::start ( )

Definition at line 257 of file utils.h.

void tiramisu_timer::stop ( )

Definition at line 262 of file utils.h.

Member Data Documentation

std::chrono::time_point<std::chrono::system_clock> tiramisu_timer::end_timing

Definition at line 255 of file utils.h.

std::chrono::time_point<std::chrono::system_clock> tiramisu_timer::start_timing

Definition at line 255 of file utils.h.

Referenced by print().

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