NeoPZ
|
#include <stats_recorder.h>
Public Member Functions | |
virtual void | start ()=0 |
virtual void | stop ()=0 |
virtual | ~RunStat () |
virtual void | print (ostream &os) const =0 |
virtual int | setCellValues (CSVStringTable &st, unsigned row) const =0 |
virtual void | clearStats ()=0 |
Base class to store statistics that should be diffed (eg. execution time)
Definition at line 107 of file stats_recorder.h.
|
inlinevirtual |
Definition at line 115 of file stats_recorder.h.
References TPZCounter::copy(), TPZFlopCounter::gCount, gNumOp, CSVTable< Tvar >::nRows(), CSVTable< Tvar >::setCell(), and rdt::values.
|
pure virtual |
Reset the statistics.
Implemented in ElapsedTimeRunStat, and RUsageRunStat.
|
pure virtual |
Print the statistics
Implemented in ElapsedTimeRunStat, and RUsageRunStat.
|
pure virtual |
Append metrics to the statistics table. The idea is to keep one table for each segment of code. New runs are appended to the table. Returns: the new_row number if Ok the setCell error code (< 0) if Error.
Implemented in ElapsedTimeRunStat, and RUsageRunStat.
|
pure virtual |
Implemented in ElapsedTimeRunStat, and RUsageRunStat.
|
pure virtual |
Implemented in ElapsedTimeRunStat, and RUsageRunStat.