QUDA  v0.5.0
A library for QCD on GPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
quda::TimeProfile Struct Reference

#include <quda_internal.h>

Public Member Functions

 TimeProfile (std::string fname)
 
void Print ()
 
Timeroperator[] (int idx)
 

Public Attributes

std::string fname
 
Timer profile [QUDA_PROFILE_COUNT]
 

Static Public Attributes

static std::string pname []
 

Detailed Description

Definition at line 138 of file quda_internal.h.

Constructor & Destructor Documentation

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

Print out the profile information

Definition at line 144 of file quda_internal.h.

Member Function Documentation

Timer& quda::TimeProfile::operator[] ( int  idx)
inline

Definition at line 150 of file quda_internal.h.

void quda::TimeProfile::Print ( )

Return the profile[idx]

< Print out the profile information

Definition at line 6 of file timer.cpp.

Member Data Documentation

std::string quda::TimeProfile::fname

Which function are we profiling

Definition at line 139 of file quda_internal.h.

std::string quda::TimeProfile::pname
static
Initial value:
= { "download", "upload", "init", "preamble", "compute",
"epilogue", "free", "total" }

Definition at line 142 of file quda_internal.h.

Timer quda::TimeProfile::profile[QUDA_PROFILE_COUNT]

Definition at line 141 of file quda_internal.h.


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