QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Static Public Member Functions | List of all members
quda::TimeProfile Class Reference

#include <timer.h>

Public Member Functions

 TimeProfile (std::string fname)
 
 TimeProfile (std::string fname, bool use_global)
 
void Print ()
 
void Start_ (const char *func, const char *file, int line, QudaProfileType idx)
 
void Stop_ (const char *func, const char *file, int line, QudaProfileType idx)
 
void Reset_ (const char *func, const char *file, int line)
 
double Last (QudaProfileType idx)
 
bool isRunning (QudaProfileType idx)
 

Static Public Member Functions

static void PrintGlobal ()
 

Detailed Description

Definition at line 174 of file timer.h.

Constructor & Destructor Documentation

◆ TimeProfile() [1/2]

quda::TimeProfile::TimeProfile ( std::string  fname)
inline

Definition at line 217 of file timer.h.

◆ TimeProfile() [2/2]

quda::TimeProfile::TimeProfile ( std::string  fname,
bool  use_global 
)
inline

Print out the profile information

Definition at line 219 of file timer.h.

Member Function Documentation

◆ isRunning()

bool quda::TimeProfile::isRunning ( QudaProfileType  idx)
inline

Definition at line 260 of file timer.h.

◆ Last()

double quda::TimeProfile::Last ( QudaProfileType  idx)
inline

Definition at line 254 of file timer.h.

◆ Print()

void quda::TimeProfile::Print ( )

< Print out the profile information

Definition at line 7 of file timer.cpp.

◆ PrintGlobal()

void quda::TimeProfile::PrintGlobal ( )
static

Definition at line 84 of file timer.cpp.

◆ Reset_()

void quda::TimeProfile::Reset_ ( const char *  func,
const char *  file,
int  line 
)
inline

Definition at line 249 of file timer.h.

◆ Start_()

void quda::TimeProfile::Start_ ( const char *  func,
const char *  file,
int  line,
QudaProfileType  idx 
)
inline

Definition at line 224 of file timer.h.

◆ Stop_()

void quda::TimeProfile::Stop_ ( const char *  func,
const char *  file,
int  line,
QudaProfileType  idx 
)
inline

Definition at line 237 of file timer.h.


The documentation for this class was generated from the following files: