anonymous_namespace{Support.cpp}::StatManager Class Reference

List of all members.

Public Member Functions

 StatManager ()
void addToStat (const std::string &loop, const std::string &category, size_t value)
void addToStat (Galois::Statistic *value)
void addPageAllocToStat (const std::string &loop, const std::string &category)
void addNumaAllocToStat (const std::string &loop, const std::string &category)
void printStats ()

Private Types

typedef std::pair< std::string,
std::string > 
KeyTy

Private Member Functions

void updateMax (unsigned n)
KeyTy mkKey (const std::string &loop, const std::string &category)
void gather (const std::string &s1, const std::string &s2, unsigned m, std::vector< unsigned long > &v)
unsigned long getSum (std::vector< unsigned long > &Values, unsigned maxThreadID)

Private Attributes

Galois::Runtime::PerThreadStorage
< std::map< KeyTy, unsigned
long > > 
Stats
volatile unsigned maxID

Member Typedef Documentation

typedef std::pair<std::string, std::string> anonymous_namespace{Support.cpp}::StatManager::KeyTy [private]

Constructor & Destructor Documentation

anonymous_namespace{Support.cpp}::StatManager::StatManager (  )  [inline]

Member Function Documentation

void anonymous_namespace{Support.cpp}::StatManager::addNumaAllocToStat ( const std::string &  loop,
const std::string &  category 
) [inline]
void anonymous_namespace{Support.cpp}::StatManager::addPageAllocToStat ( const std::string &  loop,
const std::string &  category 
) [inline]
void anonymous_namespace{Support.cpp}::StatManager::addToStat ( Galois::Statistic value  )  [inline]
void anonymous_namespace{Support.cpp}::StatManager::addToStat ( const std::string &  loop,
const std::string &  category,
size_t  value 
) [inline]
void anonymous_namespace{Support.cpp}::StatManager::gather ( const std::string &  s1,
const std::string &  s2,
unsigned  m,
std::vector< unsigned long > &  v 
) [inline, private]
unsigned long anonymous_namespace{Support.cpp}::StatManager::getSum ( std::vector< unsigned long > &  Values,
unsigned  maxThreadID 
) [inline, private]
KeyTy anonymous_namespace{Support.cpp}::StatManager::mkKey ( const std::string &  loop,
const std::string &  category 
) [inline, private]
void anonymous_namespace{Support.cpp}::StatManager::printStats (  )  [inline]
void anonymous_namespace{Support.cpp}::StatManager::updateMax ( unsigned  n  )  [inline, private]

Member Data Documentation

volatile unsigned anonymous_namespace{Support.cpp}::StatManager::maxID [private]
Galois::Runtime::PerThreadStorage<std::map<KeyTy, unsigned long> > anonymous_namespace{Support.cpp}::StatManager::Stats [private]

The documentation for this class was generated from the following file:

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1