11 #ifndef IPPL_TIMINGS_H
12 #define IPPL_TIMINGS_H
77 throw std::runtime_error(
"Timer '" +
name +
"' already running");
91 throw std::runtime_error(
"Timer '" +
name +
"' already idling");
154 void print(
const std::string &fn,
155 const std::map<std::string, unsigned int> &problemSize);
213 const std::map<std::string, unsigned int> &problemSize = std::map<std::string, unsigned int>()) {
T::PETE_Expr_t::PETE_Return_t max(const PETE_Expr< T > &expr, NDIndex< D > &loc)
TimerInfo * infoTimer(const char *nm)
void clearTimer(TimerRef)
std::map< std::string, TimerInfo * > TimerMap_t
void startTimer(TimerRef)
TimerRef getTimer(const char *)
std::vector< my_auto_ptr< TimerInfo > > TimerList_t
static TimerInfo * infoTimer(const char *nm)
Timing::TimerRef TimerRef
Timing::TimerList_t TimerList_t
static TimerRef getTimer(const char *nm)
Timing::TimerMap_t TimerMap_t
static std::stack< Timing * > stashedInstance
Timing::TimerInfo TimerInfo
static void stopTimer(TimerRef t)
static void clearTimer(TimerRef t)
static void print(std::string fn, const std::map< std::string, unsigned int > &problemSize=std::map< std::string, unsigned int >())
static void startTimer(TimerRef t)