#include <StatCount.H>
Public Types | |
enum | troubleEnd_t { troubleHigh, troubleLow } |
Public Member Functions | |
StatCount () throw () | |
void | SetHistoMap (const char *name, int(*map)(int)) throw () |
void | SetReportCount (unsigned int reportCount) |
void | SetTroubleEnd (troubleEnd_t end) |
void | AddReportMask (Basics::RegExp *mask) |
void | AddVal (int val, const Stat::Location *loc) throw () |
void | Merge (const StatCount &sc) throw () |
bool | IsEmpty () const throw () |
int | MinVal () const throw () |
int | MaxVal () const throw () |
float | MeanVal () const throw () |
Basics::int64 | SumTotal () const throw () |
void | Print (std::ostream &os, int indent, bool printHisto, bool printMinLoc, bool printMaxLoc, bool printMean=true) const throw () |
void | PrintHisto (std::ostream &os, int indent) const throw () |
void | PrintTrouble (std::ostream &os, int indent) const throw () |
Private Types | |
typedef std::list< toubleLoc_t, Basics::Allocator< toubleLoc_t > > | troubleSet_t |
Private Member Functions | |
StatCount (const StatCount &) | |
bool | MoreTrouble (int val1, int val2) |
void | AddTroubleEntry (int val, const Stat::Location *loc) |
void | PruneTroubleEntries () |
Private Attributes | |
int | numVals |
int | minVal |
int | maxVal |
Basics::int64 | total |
IntIntTbl | tbl |
const Stat::Location * | minLoc |
const Stat::Location * | maxLoc |
const char * | histoMapName |
int(* | histoMap )(int) |
troubleEnd_t | troubleEnd |
unsigned int | reportCount |
bool | reportCount_set |
troubleSet_t | troubleSet |
TextIntTbl | troubleCounts |
RegExpSeq | troubleMasks |
Classes | |
struct | toubleLoc_t |
|
Definition at line 161 of file StatCount.H. |
|
Definition at line 70 of file StatCount.H. |
|
Definition at line 46 of file StatCount.C. References histoMap. |
|
|
|
Definition at line 76 of file StatCount.H. References Sequence< Elem, elem_ptrfree >::addhi(), and troubleMasks. Referenced by main(). |
|
Definition at line 61 of file StatCount.C. References Table< K, V >::Default::Get(), Stat::Location::get_sourceFunc(), MoreTrouble(), Table< K, V >::Default::Put(), troubleCounts, and troubleSet. |
|
Definition at line 113 of file StatCount.C. Referenced by PKFileObj::Search(), MPKFileObj::Search(), DirObj::Search(), and CFPObj::Search(). |
|
Definition at line 89 of file StatCount.H. References numVals. |
|
Definition at line 230 of file StatCount.C. References maxVal. |
|
Definition at line 236 of file StatCount.C. |
|
Definition at line 165 of file StatCount.C. References Table< K, V >::Iterator::Next(). |
|
Definition at line 224 of file StatCount.C. References minVal. |
|
Definition at line 286 of file StatCount.C. References troubleEnd, and troubleHigh. Referenced by AddTroubleEntry(). |
|
Definition at line 247 of file StatCount.C. Referenced by Process(). |
|
Definition at line 307 of file StatCount.C. References NEW_PTRFREE_ARRAY, Table< K, V >::Iterator::Next(), and IntKey::Val(). |
|
Definition at line 345 of file StatCount.C. References Table< K, V >::Default::Delete(). |
|
Definition at line 81 of file StatCount.C. References Table< K, V >::Default::Delete(), Table< K, V >::Default::Get(), Stat::Location::get_sourceFunc(), StatCount::toubleLoc_t::loc, Table< K, V >::Default::Put(), reportCount, Table< K, V >::Default::Size(), troubleCounts, and troubleSet. |
|
Definition at line 55 of file StatCount.C. |
|
Definition at line 62 of file StatCount.H. References reportCount_set. Referenced by main(). |
|
Definition at line 71 of file StatCount.H. References troubleEnd. |
|
Definition at line 99 of file StatCount.H. References total. |
|
Referenced by StatCount(). |
|
Definition at line 134 of file StatCount.H. |
|
Definition at line 131 of file StatCount.H. |
|
Definition at line 128 of file StatCount.H. Referenced by MaxVal(). |
|
Definition at line 131 of file StatCount.H. |
|
Definition at line 127 of file StatCount.H. Referenced by MinVal(). |
|
Definition at line 126 of file StatCount.H. |
|
Definition at line 139 of file StatCount.H. Referenced by PruneTroubleEntries(). |
|
Definition at line 140 of file StatCount.H. Referenced by SetReportCount(). |
|
Definition at line 130 of file StatCount.H. |
|
Definition at line 129 of file StatCount.H. Referenced by MeanVal(), and SumTotal(). |
|
Definition at line 163 of file StatCount.H. Referenced by AddTroubleEntry(), and PruneTroubleEntries(). |
|
Definition at line 138 of file StatCount.H. Referenced by MoreTrouble(), and SetTroubleEnd(). |
|
Definition at line 167 of file StatCount.H. Referenced by AddReportMask(). |
|
Definition at line 162 of file StatCount.H. Referenced by AddTroubleEntry(), and PruneTroubleEntries(). |