43#ifndef PANZER_PAPI_COUNTER_2_HPP
44#define PANZER_PAPI_COUNTER_2_HPP
50#include "Teuchos_Comm.hpp"
51#include "Teuchos_SerializationTraits.hpp"
81 static void report(std::ostream& os,
const Teuchos::Comm<int>& comm);
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