#include <StatsCollector.h>
Public Member Functions | |
| StatsCollector (void) | |
| ~StatsCollector (void) | |
| void | reset (void) |
| Reset's all values and writes the file header. | |
| void | collectMsgStats (const GameMessage *msg) |
| collects Msg Stats if | |
| void | collectUnitCountStats (void) |
| cycle through all units and takes count | |
| void | incrementScrollMoveCount (void) |
| void | incrementBuildCount (void) |
| void | incrementAttackCount (void) |
| void | incrementMoveCount (void) |
| void | startScrollTime (void) |
| Start our logging on the amount of time we're scrolling. | |
| void | endScrollTime (void) |
| end our logging on the amount of time we're scrolling | |
| void | update (void) |
| called once a frame to see if we should poll this frame | |
| void | writeFileEnd (void) |
| Write the end of the file. | |
Definition at line 68 of file StatsCollector.h.
| StatsCollector::StatsCollector | ( | void | ) |
Definition at line 77 of file StatsCollector.cpp.
| StatsCollector::~StatsCollector | ( | void | ) |
Definition at line 100 of file StatsCollector.cpp.
| void StatsCollector::collectMsgStats | ( | const GameMessage * | msg | ) |
collects Msg Stats if
Definition at line 137 of file StatsCollector.cpp.
| void StatsCollector::collectUnitCountStats | ( | void | ) |
cycle through all units and takes count
Definition at line 158 of file StatsCollector.cpp.
| void StatsCollector::endScrollTime | ( | void | ) |
end our logging on the amount of time we're scrolling
Definition at line 278 of file StatsCollector.cpp.
| void StatsCollector::incrementAttackCount | ( | void | ) |
Definition at line 208 of file StatsCollector.cpp.
| void StatsCollector::incrementBuildCount | ( | void | ) |
Definition at line 213 of file StatsCollector.cpp.
| void StatsCollector::incrementMoveCount | ( | void | ) |
Definition at line 217 of file StatsCollector.cpp.
| void StatsCollector::incrementScrollMoveCount | ( | void | ) |
Definition at line 203 of file StatsCollector.cpp.
| void StatsCollector::reset | ( | void | ) |
Reset's all values and writes the file header.
Definition at line 107 of file StatsCollector.cpp.
| void StatsCollector::startScrollTime | ( | void | ) |
Start our logging on the amount of time we're scrolling.
Definition at line 271 of file StatsCollector.cpp.
| void StatsCollector::update | ( | void | ) |
called once a frame to see if we should poll this frame
Definition at line 181 of file StatsCollector.cpp.
| void StatsCollector::writeFileEnd | ( | void | ) |
Write the end of the file.
Definition at line 222 of file StatsCollector.cpp.