Class responsible for tracking all statistics of a running distributed Galois program and reporting them at the end of program execution.
More...
|
| | DistStatManager (const std::string &outfile="") |
| | Dist stat manager constructor. More...
|
| |
| | ~DistStatManager () |
| |
| template<typename T > |
| void | addToStat (const Str ®ion, const Str &category, const T &val, const StatTotal::Type &thrdTotalTy, const StatTotal::Type &hTotalTy) |
| | Adds a statistic to the statistics manager. More...
|
| |
| | StatManager (const std::string &outfile="") |
| |
| virtual | ~StatManager () |
| |
| void | setStatFile (const std::string &outfile) |
| |
| template<typename S1 , typename S2 , typename T , typename = std::enable_if_t<std::is_integral<T>::value || std::is_floating_point<T>::value>> |
| void | addToStat (const S1 ®ion, const S2 &category, const T &val, const StatTotal::Type &type) |
| |
| template<typename S1 , typename S2 , typename V > |
| void | addToParam (const S1 ®ion, const S2 &category, const V &val) |
| |
| void | print (void) |
| |
|
| void | mergeStats (void) |
| | Merge all stats from each individual thread as well as each individual host as prescribed the the reduction (Total) type specified for each statistic. More...
|
| |
| void | printHeader (std::ostream &out) const |
| | Print the header of the stats file output. More...
|
| |
| virtual void | printStats (std::ostream &out) |
| | Merge all stats. More...
|
| |
| void | mergeStats (void) |
| |
| int_iterator | intBegin (void) const |
| |
| int_iterator | intEnd (void) const |
| |
| fp_iterator | fpBegin (void) const |
| |
| fp_iterator | fpEnd (void) const |
| |
| str_iterator | paramBegin (void) const |
| |
| str_iterator | paramEnd (void) const |
| |
| template<typename S , typename V > |
| void | readIntStat (const int_iterator &i, S ®ion, S &category, int64_t &total, StatTotal::Type &type, V &vec) const |
| |
| template<typename S , typename V > |
| void | readFPstat (const fp_iterator &i, S ®ion, S &category, double &total, StatTotal::Type &type, V &vec) const |
| |
| template<typename S , typename V > |
| void | readParam (const str_iterator &i, S ®ion, S &category, Str &total, StatTotal::Type &type, V &vec) const |
| |
| void | printHeader (std::ostream &out) const |
| |
Class responsible for tracking all statistics of a running distributed Galois program and reporting them at the end of program execution.