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

#include <sync0rw.h>

Collaboration diagram for rw_lock_stats_t:

Public Types

typedef ib_counter_t
< ib_int64_t, IB_N_SLOTS
ib_int64_counter_t

Public Attributes

ib_int64_counter_t rw_s_spin_wait_count
ib_int64_counter_t rw_s_spin_round_count
ib_int64_counter_t rw_s_os_wait_count
ib_int64_counter_t rw_s_exit_count
ib_int64_counter_t rw_x_spin_wait_count
ib_int64_counter_t rw_x_spin_round_count
ib_int64_counter_t rw_x_os_wait_count
ib_int64_counter_t rw_x_exit_count

Detailed Description

Counters for RW locks.

Definition at line 49 of file sync0rw.h.

Member Data Documentation

ib_int64_counter_t rw_lock_stats_t::rw_s_exit_count
number of unlocks (that unlock shared locks),

set only when UNIV_SYNC_PERF_STAT is defined

Definition at line 66 of file sync0rw.h.

ib_int64_counter_t rw_lock_stats_t::rw_s_os_wait_count
number of OS waits on rw-latches,

resulted during shared (read) locks

Definition at line 62 of file sync0rw.h.

ib_int64_counter_t rw_lock_stats_t::rw_s_spin_round_count
number of spin loop rounds on rw-latches,

resulted during shared (read) locks

Definition at line 58 of file sync0rw.h.

ib_int64_counter_t rw_lock_stats_t::rw_s_spin_wait_count
number of spin waits on rw-latches,

resulted during shared (read) locks

Definition at line 54 of file sync0rw.h.

ib_int64_counter_t rw_lock_stats_t::rw_x_exit_count
number of unlocks (that unlock exclusive locks),

set only when UNIV_SYNC_PERF_STAT is defined

Definition at line 82 of file sync0rw.h.

ib_int64_counter_t rw_lock_stats_t::rw_x_os_wait_count
number of OS waits on rw-latches,

resulted during exclusive (write) locks

Definition at line 78 of file sync0rw.h.

ib_int64_counter_t rw_lock_stats_t::rw_x_spin_round_count
number of spin loop rounds on rw-latches,

resulted during exclusive (write) locks

Definition at line 74 of file sync0rw.h.

ib_int64_counter_t rw_lock_stats_t::rw_x_spin_wait_count
number of spin waits on rw-latches,

resulted during exclusive (write) locks

Definition at line 70 of file sync0rw.h.


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