QUDA
1.0.0
|
#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 () |
Static Private Member Functions | |
static void | StopGlobal (const char *func, const char *file, int line, QudaProfileType idx) |
static void | StartGlobal (const char *func, const char *file, int line, QudaProfileType idx) |
Private Attributes | |
std::string | fname |
Timer | profile [QUDA_PROFILE_COUNT] |
bool | switchOff |
bool | use_global |
Static Private Attributes | |
static std::string | pname [] |
static Timer | global_profile [QUDA_PROFILE_COUNT] |
static bool | global_switchOff [QUDA_PROFILE_COUNT] = {} |
static int | global_total_level [QUDA_PROFILE_COUNT] = {} |
|
inline |
|
inline |
Definition at line 257 of file timer.h.
References quda::Timer::running.
Referenced by quda::MinResExt::operator()().
|
inline |
Definition at line 251 of file timer.h.
References quda::Timer::last, and PrintGlobal().
Referenced by quda::CG::blocksolve(), quda::CACG::compute_alpha(), quda::CACG::compute_beta(), computeGaugeFixingFFTQuda(), computeGaugeFixingOVRQuda(), quda::IncEigCG::eigCGsolve(), quda::CG::operator()(), quda::CG3::operator()(), quda::CG3NE::operator()(), quda::PreconCG::operator()(), quda::BiCGstab::operator()(), quda::BiCGstabL::operator()(), quda::GCR::operator()(), quda::MR::operator()(), quda::CACG::operator()(), quda::CAGCR::operator()(), quda::MultiShiftCG::operator()(), quda::GMResDR::operator()(), and quda::CAGCR::solve().
void quda::TimeProfile::Print | ( | ) |
< Print out the profile information
Definition at line 7 of file timer.cpp.
References quda::count, fname, global_profile, global_switchOff, global_total_level, pname, printfQuda, profile, quda::QUDA_PROFILE_COUNT, quda::QUDA_PROFILE_TOTAL, quda::Timer::time, and warningQuda.
Referenced by quda::Deflation::Deflation(), endQuda(), quda::printLaunchTimer(), TimeProfile(), quda::Deflation::~Deflation(), quda::Dirac::~Dirac(), and quda::MG::~MG().
|
static |
Definition at line 81 of file timer.cpp.
References quda::count, global_profile, pname, printfQuda, quda::QUDA_PROFILE_LOWER_LEVEL, quda::QUDA_PROFILE_TOTAL, quda::Timer::time, and warningQuda.
Referenced by endQuda(), and Last().
|
inline |
Definition at line 246 of file timer.h.
References quda::QUDA_PROFILE_COUNT.
|
inline |
Definition at line 221 of file timer.h.
References PUSH_RANGE, quda::QUDA_PROFILE_TOTAL, quda::Timer::Start(), and StartGlobal().
|
inlinestaticprivate |
Definition at line 201 of file timer.h.
References quda::Timer::Start().
Referenced by Start_().
|
inline |
Definition at line 234 of file timer.h.
References POP_RANGE, quda::QUDA_PROFILE_TOTAL, quda::Timer::Stop(), and StopGlobal().
|
inlinestaticprivate |
Definition at line 188 of file timer.h.
References quda::Timer::Stop().
Referenced by Stop_().
|
private |
|
staticprivate |
Definition at line 184 of file timer.h.
Referenced by Print(), and PrintGlobal().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 178 of file timer.h.
Referenced by Print(), and PrintGlobal().
|
private |