#include <statistics.hpp>
Public Member Functions | |
| statistics (bool lock=true) | |
| constructor | |
| statistics (const statistics &ref) | |
| statistics & | operator= (const statistics &ref) |
| ~statistics () | |
| destructor | |
| void | clear () |
| reset counters to zero | |
| infinint | total () const |
| total number of file treated | |
| void | incr_treated () |
| void | incr_hard_links () |
| increment by one the treated counter | |
| void | incr_skipped () |
| increment by one the hard_links counter | |
| void | incr_ignored () |
| increment by one the skipped counter | |
| void | incr_tooold () |
| increment by one the ignored counter | |
| void | incr_errored () |
| increment by one the tooold counter | |
| void | incr_deleted () |
| increment by one the errored counter | |
| void | incr_ea_treated () |
| increment by one the deleted counter | |
| void | add_to_ignored (const infinint &val) |
| increment by one the ea_treated counter | |
| void | add_to_errored (const infinint &val) |
| increment the ignored counter by a given value | |
| void | add_to_deleted (const infinint &val) |
| increment the errored counter by a given value | |
| infinint | get_treated () const |
| increment the deleted counter by a given value | |
| infinint | get_hard_links () const |
| returns the current value of the treated counter | |
| infinint | get_skipped () const |
| returns the current value of the hard_links counter | |
| infinint | get_ignored () const |
| returns the current value of the skipped counter | |
| infinint | get_tooold () const |
| returns the current value of the ignored counter | |
| infinint | get_errored () const |
| returns the current value of the tooold counter | |
| infinint | get_deleted () const |
| returns the current value of the errored counter | |
| infinint | get_ea_treated () const |
| returns the current value of the deleted counter | |
Definition at line 67 of file statistics.hpp.
| libdar::statistics::statistics | ( | bool | lock = true |
) | [inline] |
constructor
| [in] | lock | whether to use mutex to manipulate (read or write) variables of that object |
Definition at line 77 of file statistics.hpp.
References clear().
1.4.7