ewmscp
..
|
#include <statCollector.h>
Public Member Functions | |
base (const std::string &aName, const std::string &aUnit="s") | |
virtual void | print (std::ostream &) const =0 |
virtual void | reset ()=0 |
const std::string & | getName () const |
const std::string & | getUnit () const |
decltype(n) | getN () const |
Protected Attributes | |
unsigned long long | n |
Private Attributes | |
std::string | name |
std::string | unit |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const base &obj) |
Definition at line 5 of file statCollector.h.
|
inline |
Definition at line 12 of file statCollector.h.
|
inline |
|
inline |
Definition at line 20 of file statCollector.h.
References name.
Referenced by statCollector::typed< decltype(tWorkDone - tWorkStart) >::_print(), and statCollector::typed< decltype(tWorkDone - tWorkStart) >::print().
|
inline |
Definition at line 23 of file statCollector.h.
References unit.
Referenced by statCollector::typed< decltype(tWorkDone - tWorkStart) >::_print().
|
pure virtual |
Implemented in statCollector::typed< T >, statCollector::typed< double >, statCollector::typed< decltype(tEnqueue - tInotify) >, statCollector::typed< decltype(tWorkDone - tInotify) >, statCollector::typed< copyRequest::clock_type::duration >, statCollector::typed< decltype(tWorkStart - tEnqueue) >, and statCollector::typed< decltype(tWorkDone - tWorkStart) >.
|
pure virtual |
Implemented in statCollector::typed< T >, statCollector::typed< double >, statCollector::typed< decltype(tEnqueue - tInotify) >, statCollector::typed< decltype(tWorkDone - tInotify) >, statCollector::typed< copyRequest::clock_type::duration >, statCollector::typed< decltype(tWorkStart - tEnqueue) >, and statCollector::typed< decltype(tWorkDone - tWorkStart) >.
|
friend |
Definition at line 16 of file statCollector.h.
|
protected |
Definition at line 10 of file statCollector.h.
Referenced by statCollector::typed< decltype(tWorkDone - tWorkStart) >::_print(), statCollector::typed< decltype(tWorkDone - tWorkStart) >::addValue(), getN(), statCollector::typed< decltype(tWorkDone - tWorkStart) >::print(), and statCollector::typed< decltype(tWorkDone - tWorkStart) >::reset().
|
private |
Definition at line 7 of file statCollector.h.
Referenced by getName().
|
private |
Definition at line 8 of file statCollector.h.
Referenced by getUnit().