#include <testing.h>
Public Member Functions | |
profiler (int argC, const char **argV) | |
Must be called immediately after 'main'. | |
int | success (void) const |
This is called by all test programs if things went fine. | |
Private Attributes | |
int | _argC |
const char ** | _argV |
time_t | _startupTime |
When the test program was started. |
rpa::profiler::profiler | ( | int | argC, | |
const char ** | argV | |||
) |
Must be called immediately after 'main'.
int rpa::profiler::success | ( | void | ) | const |
This is called by all test programs if things went fine.
All successful log files finish with the same string. This is the right place for getrusage, times(), clock()
int rpa::profiler::_argC [private] |
const char** rpa::profiler::_argV [private] |
time_t rpa::profiler::_startupTime [private] |
When the test program was started.