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_clock > | start_time = std::chrono::high_resolution_clock::now() |
| Recorded start time of this execution. More... | |
A sentinel class which prints the collected timer data on destruction.