11#ifndef PANZER_PAPI_COUNTER_2_HPP
12#define PANZER_PAPI_COUNTER_2_HPP
18#include "Teuchos_Comm.hpp"
19#include "Teuchos_SerializationTraits.hpp"
49 static void report(std::ostream& os,
const Teuchos::Comm<int>& comm);
75 static std::map<std::string,InternalCounter2>
m_counters;
Interface to papi counters.
static void startCounters()
static void addEventCounter(const int event)
static bool m_is_initialized
true if the static members have been intitialized
static int m_event_set
PAPI event set.
static std::map< std::string, InternalCounter2 > m_counters
maps the counter name to the data object
std::string m_name
name of this counter
static void stopCounters()
static void report(std::ostream &os, const Teuchos::Comm< int > &comm)
static std::vector< int > m_events
papi event index
long_long accumulated_time
std::vector< long_long > start_counters
std::vector< long_long > stop_counters
std::vector< long_long > accumulated_counters