Defines a timer object to be used on GPU; measures summed thread cycles.
More...
#include <KernelTimer.H>
Defines a timer object to be used on GPU; measures summed thread cycles.
◆ KernelTimer()
| AMREX_GPU_DEVICE KernelTimer::KernelTimer |
( |
const bool |
, |
|
|
amrex::Real * |
|
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| [in] | do_timing | Controls whether timer is active. |
| [in,out] | cost | Pointer to cost which holds summed thread cycles (for performance, it is recommended to allocate pinned host memory). |
◆ ~KernelTimer()
| AMREX_GPU_DEVICE KernelTimer::~KernelTimer |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/21.10/Source/Parallelization/KernelTimer.H