MySQL 8.0.39
Source Code Documentation
srv0mon.ic File Reference

Server monitoring system. More...

Functions

static 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. More...
 
static 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. More...
 
static void srv_mon_reset_all (monitor_id_t monitor)
 This function resets all values of a monitor counter. More...
 

Detailed Description

Server monitoring system.

Created 1/20/2010 Jimmy Yang

Function Documentation

◆ srv_mon_calc_max_since_start()

static mon_type_t srv_mon_calc_max_since_start ( monitor_id_t  monitor)
inlinestatic

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

◆ srv_mon_calc_min_since_start()

static mon_type_t srv_mon_calc_min_since_start ( monitor_id_t  monitor)
inlinestatic

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

◆ srv_mon_reset_all()

static void srv_mon_reset_all ( monitor_id_t  monitor)
inlinestatic

This function resets all values of a monitor counter.

Parameters
monitorin: monitor id