rpa::profiler Class Reference

Created by testing programs to have the same output, and do monitorings. More...

#include <testing.h>

List of all members.

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.


Detailed Description

Created by testing programs to have the same output, and do monitorings.


Constructor & Destructor Documentation

rpa::profiler::profiler ( int  argC,
const char **  argV 
)

Must be called immediately after 'main'.


Member Function Documentation

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()


Member Data Documentation

int rpa::profiler::_argC [private]

const char** rpa::profiler::_argV [private]

time_t rpa::profiler::_startupTime [private]

When the test program was started.


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 10:20:39 2007 for rpa by  doxygen 1.4.7