62 return m_counter[ACCESS] - m_counter[NUMA] - m_counter[MPI] - m_counter[FILE];
64 return m_counter[ACCESS] - m_counter[MPI] - m_counter[FILE];
66 return m_counter[NUMA] + m_counter[MPI] + m_counter[FILE];
70 assert(type < NATIVE_COUNTER_SIZE);
74 return m_counter[type];
85 std::unordered_map<std::string, CounterType>::const_iterator type
86 = NAME_TO_COUNTER.find(name);
88 if (type == NAME_TO_COUNTER.end())
static const NameToCounterMap NAME_TO_COUNTER
static CounterType name2type(const char *name)
unsigned long get(CounterType type) const
unsigned long m_counter[NATIVE_COUNTER_SIZE]