srv0mon.h   srv0mon.h 
/*********************************************************************** /***********************************************************************
Copyright (c) 2010, 2012, Oracle and/or its affiliates. All Rights Reserved . Copyright (c) 2010, 2013, Oracle and/or its affiliates. All Rights Reserved .
Copyright (c) 2012, Facebook Inc. Copyright (c) 2012, Facebook Inc.
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the under the terms of the GNU General Public License as published by the
Free Software Foundation; version 2 of the License. Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details. Public License for more details.
skipping to change at line 100 skipping to change at line 100
server start up */ server start up */
MONITOR_SET_OWNER = 64, /*!< Owner of "monitor set", a set of MONITOR_SET_OWNER = 64, /*!< Owner of "monitor set", a set of
monitor counters */ monitor counters */
MONITOR_SET_MEMBER = 128,/*!< Being part of a "monitor set" */ MONITOR_SET_MEMBER = 128,/*!< Being part of a "monitor set" */
MONITOR_HIDDEN = 256 /*!< Do not display this monitor in the MONITOR_HIDDEN = 256 /*!< Do not display this monitor in the
metrics table */ metrics table */
}; };
/** Counter minimum value is initialized to be max value of /** Counter minimum value is initialized to be max value of
mon_type_t (ib_int64_t) */ mon_type_t (ib_int64_t) */
#define MIN_RESERVED ((mon_type_t) (IB_ULONGLONG_MAX >> 1 )) #define MIN_RESERVED ((mon_type_t) (IB_UINT64_MAX >> 1))
#define MAX_RESERVED (~MIN_RESERVED) #define MAX_RESERVED (~MIN_RESERVED)
/** This enumeration defines internal monitor identifier used internally /** This enumeration defines internal monitor identifier used internally
to identify each particular counter. Its value indexes into two arrays, to identify each particular counter. Its value indexes into two arrays,
one is the "innodb_counter_value" array which records actual monitor one is the "innodb_counter_value" array which records actual monitor
counter values, the other is "innodb_counter_info" array which describes counter values, the other is "innodb_counter_info" array which describes
each counter's basic information (name, desc etc.). A couple of each counter's basic information (name, desc etc.). A couple of
naming rules here: naming rules here:
1) If the monitor defines a module, it starts with MONITOR_MODULE 1) If the monitor defines a module, it starts with MONITOR_MODULE
2) If the monitor uses exisitng counters from "status variable", its ID 2) If the monitor uses exisitng counters from "status variable", its ID
skipping to change at line 171 skipping to change at line 171
MONITOR_OVLD_BUF_POOL_BYTES_DIRTY, MONITOR_OVLD_BUF_POOL_BYTES_DIRTY,
MONITOR_OVLD_BUF_POOL_PAGES_FREE, MONITOR_OVLD_BUF_POOL_PAGES_FREE,
MONITOR_OVLD_PAGE_CREATED, MONITOR_OVLD_PAGE_CREATED,
MONITOR_OVLD_PAGES_WRITTEN, MONITOR_OVLD_PAGES_WRITTEN,
MONITOR_OVLD_PAGES_READ, MONITOR_OVLD_PAGES_READ,
MONITOR_OVLD_BYTE_READ, MONITOR_OVLD_BYTE_READ,
MONITOR_OVLD_BYTE_WRITTEN, MONITOR_OVLD_BYTE_WRITTEN,
MONITOR_FLUSH_BATCH_SCANNED, MONITOR_FLUSH_BATCH_SCANNED,
MONITOR_FLUSH_BATCH_SCANNED_NUM_CALL, MONITOR_FLUSH_BATCH_SCANNED_NUM_CALL,
MONITOR_FLUSH_BATCH_SCANNED_PER_CALL, MONITOR_FLUSH_BATCH_SCANNED_PER_CALL,
MONITOR_FLUSH_HP_RESCAN,
MONITOR_FLUSH_BATCH_TOTAL_PAGE, MONITOR_FLUSH_BATCH_TOTAL_PAGE,
MONITOR_FLUSH_BATCH_COUNT, MONITOR_FLUSH_BATCH_COUNT,
MONITOR_FLUSH_BATCH_PAGES, MONITOR_FLUSH_BATCH_PAGES,
MONITOR_FLUSH_NEIGHBOR_TOTAL_PAGE, MONITOR_FLUSH_NEIGHBOR_TOTAL_PAGE,
MONITOR_FLUSH_NEIGHBOR_COUNT, MONITOR_FLUSH_NEIGHBOR_COUNT,
MONITOR_FLUSH_NEIGHBOR_PAGES, MONITOR_FLUSH_NEIGHBOR_PAGES,
MONITOR_FLUSH_N_TO_FLUSH_REQUESTED, MONITOR_FLUSH_N_TO_FLUSH_REQUESTED,
MONITOR_FLUSH_AVG_PAGE_RATE, MONITOR_FLUSH_AVG_PAGE_RATE,
MONITOR_FLUSH_LSN_AVG_RATE, MONITOR_FLUSH_LSN_AVG_RATE,
MONITOR_FLUSH_PCT_FOR_DIRTY, MONITOR_FLUSH_PCT_FOR_DIRTY,
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/