InnoDB Plugin  1.0
Public Types | Data Fields
rw_lock_stats_t Struct Reference

#include <sync0rw.h>

Collaboration diagram for rw_lock_stats_t:
Collaboration graph
[legend]

Public Types

typedef ib_counter_t
< ib_int64_t, IB_N_SLOTS
ib_int64_counter_t

Data Fields

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.

Field 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

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

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

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

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

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

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

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


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