A class for interfacing with hardware timers. More...
#include <perfmon.h>
Public Member Functions | |
PerfMon (std::string id, const unsigned int v=1, const unsigned int pid=0) | |
~PerfMon () | |
void | reset () |
double | print (std::string msg="NULL", std::ostream &out=libMesh::out) |
Private Attributes | |
const std::string | id_string |
struct timeval | the_time_start |
struct timeval | the_time_stop |
const unsigned int | verbose |
const unsigned int | proc_id |
float | rtime |
float | ptime |
float | mflops |
long long int | flpins |
A class for interfacing with hardware timers.
PAPI stands for Performance Application Programming Interface. This class was supposed to provide an interface to the hardware timers that PAPI exposes, but it never really got developed.
|
inline |
|
inline |
Definition at line 157 of file perfmon.h.
References print().
|
inline |
Definition at line 96 of file perfmon.h.
References flpins, id_string, mflops, proc_id, ptime, rtime, the_time_start, the_time_stop, and verbose.
Referenced by ~PerfMon().
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |