|
Stxxl
1.4.0
|
#include <timer.h>
Public Member Functions | |
| timer (bool start_immediately=false) | |
| void | start () |
| void | stop () |
| void | reset () |
| double | seconds () |
| double | mseconds () |
| double | useconds () |
Private Member Functions | |
| double | timestamp () |
Private Attributes | |
| bool | running |
| double | accumulated |
| double | last_clock |
| stxxl::timer::timer | ( | bool | start_immediately = false | ) | [inline] |
| double stxxl::timer::mseconds | ( | ) | [inline] |
Definition at line 97 of file timer.h.
References accumulated, last_clock, running, and timestamp().
Referenced by benchmark_delete(), benchmark_insert(), C(), main(), NC(), run_bdb_btree(), run_bdb_btree_big(), run_ledasm_insert_all_delete_all(), run_ledasm_intermixed(), run_stack(), run_stxxl_insert_all_delete_all(), run_stxxl_intermixed(), run_stxxl_map(), run_stxxl_map_big(), and run_tpie_btree_big().
| void stxxl::timer::reset | ( | ) | [inline] |
Definition at line 91 of file timer.h.
References accumulated, last_clock, and timestamp().
Referenced by main(), run_bdb_btree(), run_bdb_btree_big(), run_ledasm_insert_all_delete_all(), run_ledasm_intermixed(), run_stack(), run_stxxl_insert_all_delete_all(), run_stxxl_intermixed(), run_stxxl_map(), run_stxxl_map_big(), and run_tpie_btree_big().
| double stxxl::timer::seconds | ( | ) | [inline] |
Definition at line 113 of file timer.h.
References accumulated, last_clock, running, and timestamp().
Referenced by main().
| void stxxl::timer::start | ( | ) | [inline] |
Definition at line 79 of file timer.h.
References last_clock, running, and timestamp().
Referenced by benchmark_delete(), benchmark_insert(), C(), main(), NC(), run_bdb_btree(), run_bdb_btree_big(), run_ledasm_insert_all_delete_all(), run_ledasm_intermixed(), run_stack(), run_stxxl_insert_all_delete_all(), run_stxxl_intermixed(), run_stxxl_map(), run_stxxl_map_big(), run_tpie_btree_big(), and timer().
| void stxxl::timer::stop | ( | ) | [inline] |
Definition at line 85 of file timer.h.
References accumulated, last_clock, running, and timestamp().
Referenced by benchmark_delete(), benchmark_insert(), C(), main(), NC(), run_bdb_btree(), run_bdb_btree_big(), run_ledasm_insert_all_delete_all(), run_ledasm_intermixed(), run_stack(), run_stxxl_insert_all_delete_all(), run_stxxl_intermixed(), run_stxxl_map(), run_stxxl_map_big(), and run_tpie_btree_big().
| double stxxl::timer::timestamp | ( | ) | [inline, private] |
Definition at line 74 of file timer.h.
Referenced by mseconds(), reset(), seconds(), start(), stop(), and useconds().
| double stxxl::timer::useconds | ( | ) | [inline] |
Definition at line 105 of file timer.h.
References accumulated, last_clock, running, and timestamp().
double stxxl::timer::accumulated [private] |
Definition at line 54 of file timer.h.
Referenced by mseconds(), reset(), seconds(), stop(), and useconds().
double stxxl::timer::last_clock [private] |
Definition at line 55 of file timer.h.
Referenced by mseconds(), reset(), seconds(), start(), stop(), and useconds().
bool stxxl::timer::running [private] |
Definition at line 53 of file timer.h.
Referenced by mseconds(), seconds(), start(), stop(), and useconds().
1.7.6.1