SyTen
syten::TensorTimer::TimerSentinelPrinter Struct Reference

A sentinel class which prints the collected timer data on destruction. More...

+ Collaboration diagram for syten::TensorTimer::TimerSentinelPrinter:

Public Member Functions

 ~TimerSentinelPrinter ()
 Sentinel destructor to print the time on leaving. More...
 

Public Attributes

std::clock_t start_clock = std::clock()
 Recorded clock time at start of execution. More...
 
std::chrono::time_point< std::chrono::high_resolution_clockstart_time = std::chrono::high_resolution_clock::now()
 Recorded start time of this execution. More...
 

Detailed Description

A sentinel class which prints the collected timer data on destruction.


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