![]() |
ryujin 2.5.0 revision c64172211cf21344cb9b9b0f3a1266aa6400d392
|
#include <include/ryujin/base/computing_timer.h>
Classes | |
| class | Scope |
Static Public Member Functions | |
| static double | seconds () |
| static std::uint64_t | n_kernels () |
| static void | reinit () |
Definition at line 128 of file computing_timer.h.
|
inlinestatic |
The accumulated wall time (in seconds) spent executing device kernels. The value increases monotonically since the last reinit().
Definition at line 154 of file computing_timer.h.
|
inlinestatic |
The number of device kernels that have been launched so far.
Definition at line 162 of file computing_timer.h.
|
inlinestatic |
Reset the accumulated device time and the kernel counter back to zero.
Definition at line 170 of file computing_timer.h.
Referenced by ryujin::Simulation< HD, PD, dim, Number >::Simulation().