![]() |
Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
A class that compute time statistics. More...
#include <bayeux/datatools/time_tools.h>
Public Member Functions | |
| computing_time () | |
| Constructor. More... | |
| virtual | ~computing_time () |
| Destructor. More... | |
| bool | is_stopped () const |
| bool | is_started () const |
| size_t | get_counts () const |
| double | get_last_elapsed_time () const |
| double | get_total_time () const |
| double | get_sum_time () const |
| double | get_sum2_time () const |
| double | get_min_time () const |
| double | get_max_time () const |
| double | get_mean_time () const |
| double | get_sigma_time () const |
| void | start () |
| void | stop () |
| void | pause () |
| void | resume () |
| void | reset () |
| virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| Main old interface method for printing. More... | |
Public Member Functions inherited from datatools::i_tree_dumpable | |
| i_tree_dumpable () | |
| Constructor. More... | |
| virtual | ~i_tree_dumpable () |
| Destructor. More... | |
| virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| Main new interface method for printing. More... | |
| void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| Printing with jsonized options. More... | |
| void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| Printing with jsonized options. More... | |
| void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
| void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
| void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
Static Public Member Functions | |
| static double | system_dead_time () |
| static bool | g_timeval_subtract (const timeval &stop_, const timeval &start_, timeval &result_) |
| static double | compute_system_dead_time () |
Static Public Member Functions inherited from datatools::i_tree_dumpable | |
| static const boost::property_tree::ptree & | empty_options () |
| static boost::property_tree::ptree | make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false) |
| static std::ostream & | last_skip_tag (std::ostream &out_) |
| static std::ostream & | skip_tag (std::ostream &out_) |
| static std::ostream & | last_tag (std::ostream &out_) |
| static std::ostream & | tag (std::ostream &out_) |
Additional Inherited Members | |
Public Types inherited from datatools::i_tree_dumpable | |
| enum | ostream_type { OSTREAM_COUT = 1, OSTREAM_CERR = 2, OSTREAM_CLOG = 3 } |
| Enumeration for standard output streams. More... | |
A class that compute time statistics.
!
| datatools::computing_time::computing_time | ( | ) |
Constructor.
|
virtual |
Destructor.
|
static |
|
static |
| size_t datatools::computing_time::get_counts | ( | ) | const |
| double datatools::computing_time::get_last_elapsed_time | ( | ) | const |
| double datatools::computing_time::get_max_time | ( | ) | const |
| double datatools::computing_time::get_mean_time | ( | ) | const |
| double datatools::computing_time::get_min_time | ( | ) | const |
| double datatools::computing_time::get_sigma_time | ( | ) | const |
| double datatools::computing_time::get_sum2_time | ( | ) | const |
| double datatools::computing_time::get_sum_time | ( | ) | const |
| double datatools::computing_time::get_total_time | ( | ) | const |
| bool datatools::computing_time::is_started | ( | ) | const |
| bool datatools::computing_time::is_stopped | ( | ) | const |
| void datatools::computing_time::pause | ( | ) |
| void datatools::computing_time::reset | ( | ) |
| void datatools::computing_time::resume | ( | ) |
| void datatools::computing_time::start | ( | ) |
| void datatools::computing_time::stop | ( | ) |
|
static |
|
virtual |
Main old interface method for printing.
Reimplemented from datatools::i_tree_dumpable.
1.8.15