|
Functions |
void | setupAverageRatio (statCollection *stats, char *stat1, char *stat2) |
| Setup the stats so a ratio between two stats for each unit can be properly measured.
|
void | measureAverageRatio (statCollection *stats) |
| Measures the ration between the two stats set-up from setupAverageRatio.
|
double | sumStatEntries (statCollection *stats, const char *category, const char *owner) |
| Sum the values of all stat entries for the same (category, owner).
|
double | averageStatEntries (statCollection *stats, const char *category, const char *owner) |
double | stdevStatEntries (statCollection *stats, const char *category, const char *owner) |
double | maxStatEntries (statCollection *stats, const char *category, const char *owner) |
long unsigned | countStatEntries (statCollection *stats, const char *category, const char *owner) |
| Count the number of state instances in the stat collection.
|