A class used to keep track of several timing statistics for repeating kernel or function calls
#include <timer.h>
|
| TimeSeries () |
|
void | add (const uint32 c, const float t, const float dt=0.0f) |
|
float | avg_speed () const |
|
|
std::string | name |
|
std::string | units |
|
uint32 | num |
|
uint64 | calls |
|
float | time |
|
float | device_time |
|
float | max_speed |
|
uint32 | bin_calls [32] |
|
uint64 | bin_items [32] |
|
float | bin_time [32] |
|
float | bin_speed [32] |
|
std::deque< std::pair< uint32, float > > | info |
|
◆ TimeSeries()
cugar::TimeSeries::TimeSeries |
( |
| ) |
|
|
inline |
◆ add()
void cugar::TimeSeries::add |
( |
const uint32 |
c, |
|
|
const float |
t, |
|
|
const float |
dt = 0.0f |
|
) |
| |
|
inline |
add a sample
- Parameters
-
c | the number of calls / items processed |
t | the amount of time spent |
dt | the amount of device-time spent |
The documentation for this struct was generated from the following file:
- C:/p4research/research/jpantaleoni/Fermat-Public/contrib/cugar/basic/timer.h