|
QUDA
v1.1.0
A library for QCD on GPUs
|
#include <timer.h>
Public Member Functions | |
| Timer () | |
| void | Start (const char *func, const char *file, int line) |
| void | Stop (const char *func, const char *file, int line) |
| double | Last () |
| void | Reset (const char *func, const char *file, int line) |
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.
|
inline |
|
inline |
|
inline |
| double quda::Timer::last |
| timeval quda::Timer::start |
| double quda::Timer::time |