#include <Histogram.H>
Collaboration diagram for Histogram:

Public Types | |
| typedef unsigned int(*) | histo_map_t (unsigned int) |
Public Member Functions | |
| Histogram (int gran) throw () | |
| void | AddVal (int t) throw () |
| void | Print (std::ostream &os, int width=78) const throw () |
| Histogram (histo_map_t map_func) | |
| Histogram () | |
| void | SetHistoMap (histo_map_t map_func) |
| void | AddVal (unsigned int val) |
| void | PrintHisto (ostream &out) const throw () |
| Histogram & | operator+= (const Histogram &other) |
Private Attributes | |
| int | numVals |
| int | gran |
| int | numBuckets |
| int * | bucket |
| int | firstBucket |
| histo_map_t | histo_map |
| IntIntTbl | tbl |
Definition at line 28 of file Histogram.H.
| typedef unsigned int(*) Histogram::histo_map_t(unsigned int) |
Definition at line 69 of file read_timing.C.
| Histogram::Histogram | ( | int | gran | ) | throw () [inline] |
Definition at line 30 of file Histogram.H.
| Histogram::Histogram | ( | histo_map_t | map_func | ) | [inline] |
Definition at line 75 of file read_timing.C.
| Histogram::Histogram | ( | ) | [inline] |
Definition at line 79 of file read_timing.C.
| void Histogram::AddVal | ( | int | t | ) | throw () |
Definition at line 29 of file Histogram.C.
References NEW_PTRFREE_ARRAY.
Referenced by Proc_Totals::add_call(), and main().
Here is the caller graph for this function:

| void Histogram::Print | ( | std::ostream & | os, | |
| int | width = 78 | |||
| ) | const throw () |
| void Histogram::SetHistoMap | ( | histo_map_t | map_func | ) | [inline] |
| void Histogram::AddVal | ( | unsigned int | val | ) | [inline] |
| void Histogram::PrintHisto | ( | ostream & | out | ) | const throw () [inline] |
Definition at line 101 of file read_timing.C.
References Table< K, V >::Iterator::Next(), and SimpleKey< T >::Val().
Referenced by main().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 127 of file read_timing.C.
References histo_map, Table< K, V >::Iterator::Next(), and tbl.
Here is the call graph for this function:

int Histogram::numVals [private] |
Definition at line 43 of file Histogram.H.
int Histogram::gran [private] |
Definition at line 44 of file Histogram.H.
int Histogram::numBuckets [private] |
Definition at line 45 of file Histogram.H.
int* Histogram::bucket [private] |
Definition at line 46 of file Histogram.H.
int Histogram::firstBucket [private] |
Definition at line 47 of file Histogram.H.
histo_map_t Histogram::histo_map [private] |
Definition at line 71 of file read_timing.C.
Referenced by AddVal(), operator+=(), and SetHistoMap().
IntIntTbl Histogram::tbl [private] |
1.5.1