|
guanaqo
main
Utilities for scientific software
|
#include <guanaqo/timed-cpu.hpp>
RAII class for measuring wall and CPU time.
Definition at line 28 of file timed-cpu.hpp.
Public Member Functions | |
| Timed (TimingsCPU &time) | |
| ~Timed () | |
| Timed (const Timed &)=delete | |
| Timed & | operator= (const Timed &)=delete |
Private Types | |
| using | clock = std::chrono::steady_clock |
Private Attributes | |
| TimingsCPU & | time |
| clock::time_point | wall_start_time |
| int64_t | cpu_start_time |
|
private |
Definition at line 35 of file timed-cpu.hpp.
| guanaqo::Timed< TimingsCPU >::Timed | ( | TimingsCPU & | time | ) |
Definition at line 44 of file timed-cpu.cpp.
| guanaqo::Timed< TimingsCPU >::~Timed | ( | ) |
|
delete |
|
delete |
|
private |
Definition at line 36 of file timed-cpu.hpp.
|
private |
Definition at line 37 of file timed-cpu.hpp.
|
private |
Definition at line 38 of file timed-cpu.hpp.