MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
monitor_value_t Struct Reference

#include <srv0mon.h>

Public Attributes

ib_time_t mon_start_time
ib_time_t mon_stop_time
ib_time_t mon_reset_time
mon_type_t mon_value
mon_type_t mon_max_value
mon_type_t mon_min_value
mon_type_t mon_value_reset
mon_type_t mon_max_value_start
mon_type_t mon_min_value_start
mon_type_t mon_start_value
mon_type_t mon_last_value
monitor_running_t mon_status

Detailed Description

Two monitor structures are defined in this file. One is

"monitor_value_t" which contains dynamic counter values for each counter. The other is "monitor_info_t", which contains static information (counter name, desc etc.) for each counter. In addition, an enum datatype "monitor_id_t" is also defined, it identifies each monitor with an internally used symbol, whose integer value indexes into above two structure for its dynamic and static information. Developer who intend to add new counters would require to fill in counter information as described in "monitor_info_t" and create the internal counter ID in "monitor_id_t". Structure containing the actual values of a monitor counter.

Definition at line 59 of file srv0mon.h.

Member Data Documentation

mon_type_t monitor_value_t::mon_last_value

Last set of values

Definition at line 70 of file srv0mon.h.

mon_type_t monitor_value_t::mon_max_value

Current Max value

Definition at line 64 of file srv0mon.h.

mon_type_t monitor_value_t::mon_max_value_start

Max value since start

Definition at line 67 of file srv0mon.h.

mon_type_t monitor_value_t::mon_min_value

Current Min value

Definition at line 65 of file srv0mon.h.

mon_type_t monitor_value_t::mon_min_value_start

Min value since start

Definition at line 68 of file srv0mon.h.

ib_time_t monitor_value_t::mon_reset_time

Time counter resetted

Definition at line 62 of file srv0mon.h.

ib_time_t monitor_value_t::mon_start_time

Start time of monitoring

Definition at line 60 of file srv0mon.h.

mon_type_t monitor_value_t::mon_start_value

Value at the start time

Definition at line 69 of file srv0mon.h.

ib_time_t monitor_value_t::mon_stop_time

Stop time of monitoring

Definition at line 61 of file srv0mon.h.

mon_type_t monitor_value_t::mon_value

Current counter Value

Definition at line 63 of file srv0mon.h.

mon_type_t monitor_value_t::mon_value_reset

value at last reset

Definition at line 66 of file srv0mon.h.


The documentation for this struct was generated from the following file: