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

#include <pfs_instr.h>

Inheritance diagram for PFS_rwlock:
Collaboration diagram for PFS_rwlock:

Public Attributes

const void * m_identity
PFS_rwlock_classm_class
PFS_rwlock_stat m_rwlock_stat
PFS_threadm_writer
uint m_readers
ulonglong m_last_written
ulonglong m_last_read
- Public Attributes inherited from PFS_instr
pfs_lock m_lock
bool m_enabled
bool m_timed

Detailed Description

Instrumented rwlock implementation.

See Also
PSI_rwlock.

Definition at line 89 of file pfs_instr.h.

Member Data Documentation

PFS_rwlock_class* PFS_rwlock::m_class

RWLock class.

Definition at line 94 of file pfs_instr.h.

const void* PFS_rwlock::m_identity

RWLock identity, typically a pthread_rwlock_t.

Definition at line 92 of file pfs_instr.h.

ulonglong PFS_rwlock::m_last_read

Timestamp of the last read. This statistic is not exposed in user visible tables yet.

Definition at line 110 of file pfs_instr.h.

ulonglong PFS_rwlock::m_last_written

Timestamp of the last write. This statistic is not exposed in user visible tables yet.

Definition at line 105 of file pfs_instr.h.

uint PFS_rwlock::m_readers

Current count of readers.

Definition at line 100 of file pfs_instr.h.

PFS_rwlock_stat PFS_rwlock::m_rwlock_stat

Instrument statistics.

Definition at line 96 of file pfs_instr.h.

PFS_thread* PFS_rwlock::m_writer

Current writer thread.

Definition at line 98 of file pfs_instr.h.


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