RAII wrapper for timing functions.
More...
RAII wrapper for timing functions.
- See also
- xpu::push_timer, xpu::pop_timer, xpu::timings
◆ scoped_timer() [1/3]
xpu::scoped_timer::scoped_timer |
( |
std::string_view |
name, |
|
|
xpu::timings * |
t = nullptr |
|
) |
| |
Create a new timer.
- Parameters
-
name | Name of the timer. |
t | If not null, the collected timings are stored here. |
◆ ~scoped_timer()
xpu::scoped_timer::~scoped_timer |
( |
| ) |
|
◆ scoped_timer() [2/3]
◆ scoped_timer() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: