Go to the documentation of this file.
20 #ifndef LIBMESH_PERFMON_H
21 #define LIBMESH_PERFMON_H
25 #include "libmesh/libmesh_common.h"
56 const unsigned int v=1,
57 const unsigned int pid=0);
114 <<
": elapsed time: "
115 << elapsed_time <<
" (sec)"
119 <<
": elapsed time: "
120 << elapsed_time <<
" (sec)"
145 const unsigned int v,
146 const unsigned int pid) :
168 #endif // LIBMESH_PERFMON_H
struct timeval the_time_start
PAPI stands for Performance Application Programming Interface.
const unsigned int verbose
The libMesh namespace provides an interface to certain functionality in the library.
struct timeval the_time_stop
const unsigned int proc_id
PerfMon(std::string id, const unsigned int v=1, const unsigned int pid=0)
double print(std::string msg="NULL", std::ostream &out=libMesh::out)
const std::string id_string