QUDA
v0.7.0
A library for QCD on GPUs
|
#include <quda_internal.h>
Public Member Functions | |
Timer () | |
void | Start () |
void | Stop () |
double | Last () |
Public Attributes | |
double | time |
double | last |
timeval | start |
timeval | stop |
bool | running |
int | count |
Use this for recording a fine-grained profile of a QUDA algorithm. This uses host-side measurement, so should be used for timing fully host-device synchronous algorithms.Enumeration type used for writing a simple but extensible profiling framework.
Definition at line 98 of file quda_internal.h.
|
inline |
Definition at line 117 of file quda_internal.h.
|
inline |
Definition at line 138 of file quda_internal.h.
|
inline |
Definition at line 119 of file quda_internal.h.
|
inline |
Definition at line 125 of file quda_internal.h.
int quda::Timer::count |
Definition at line 115 of file quda_internal.h.
double quda::Timer::last |
Used to store when the timer was last started
Definition at line 103 of file quda_internal.h.
bool quda::Timer::running |
Keep track of number of calls
Definition at line 112 of file quda_internal.h.
timeval quda::Timer::start |
Used to store when the timer was last stopped
Definition at line 106 of file quda_internal.h.
timeval quda::Timer::stop |
Are we currently timing?
Definition at line 109 of file quda_internal.h.
double quda::Timer::time |
< The cumulative sum of time The last recorded time interval
Definition at line 100 of file quda_internal.h.