InnoDB Plugin  1.0
Functions
srv0mon.ic File Reference
This graph shows which files directly or indirectly include this file:

Functions

UNIV_INLINE mon_type_t srv_mon_calc_max_since_start (monitor_id_t monitor)
UNIV_INLINE mon_type_t srv_mon_calc_min_since_start (monitor_id_t monitor)
UNIV_INLINE void srv_mon_reset_all (monitor_id_t monitor)

Detailed Description

Server monitoring system

Created 1/20/2010 Jimmy Yang

Function Documentation

UNIV_INLINE mon_type_t srv_mon_calc_max_since_start ( monitor_id_t  monitor)

This function is used to calculate the maximum counter value since the start of monitor counter

Returns
max counter value since start.
Parameters
monitorin: monitor id
UNIV_INLINE mon_type_t srv_mon_calc_min_since_start ( monitor_id_t  monitor)

This function is used to calculate the minimum counter value since the start of monitor counter

Returns
min counter value since start.
Parameters
monitorin: monitor id
UNIV_INLINE void srv_mon_reset_all ( monitor_id_t  monitor)

This function resets all values of a monitor counter

Parameters
monitorin: monitor id