CUBRID Engine
latest
|
#include <perf.hpp>
Public Types | |
enum | type { COUNTER, TIMER, COUNTER_AND_TIMER } |
Public Member Functions | |
stat_definition (const stat_id id, type stat_type, const char *first_name, const char *second_name=NULL) | |
stat_definition (const stat_definition &other) | |
stat_definition & | operator= (const stat_definition &other) |
std::size_t | get_value_count (void) const |
Private Member Functions | |
stat_definition (void) | |
Private Attributes | |
stat_id | m_id |
type | m_type |
const char * | m_names [MAX_VALUE_COUNT] |
std::size_t | m_offset |
Static Private Attributes | |
static const std::size_t | MAX_VALUE_COUNT = 2 |
Friends | |
class | statset_definition |
cubperf::stat_definition::stat_definition | ( | const stat_definition & | other | ) |
std::size_t cubperf::stat_definition::get_value_count | ( | void | ) | const |
Definition at line 75 of file perf.cpp.
References m_type.
Referenced by cubperf::statset_definition::statset_definition().
stat_definition & cubperf::stat_definition::operator= | ( | const stat_definition & | other | ) |
|
friend |
|
private |
Definition at line 133 of file perf.hpp.
Referenced by operator=().
|
private |
Definition at line 135 of file perf.hpp.
Referenced by operator=(), stat_definition(), and cubperf::statset_definition::statset_definition().
|
private |
Definition at line 136 of file perf.hpp.
Referenced by operator=(), stat_definition(), and cubperf::statset_definition::statset_definition().
|
private |
Definition at line 134 of file perf.hpp.
Referenced by cubperf::statset_definition::generic_add_stat_values_with_converted_timers(), cubperf::statset_definition::generic_get_stat_values_with_converted_timers(), cubperf::statset_definition::generic_increment(), cubperf::statset_definition::generic_time(), cubperf::statset_definition::generic_time_and_increment(), get_value_count(), and operator=().
|
staticprivate |
Definition at line 131 of file perf.hpp.
Referenced by operator=().