MySQL 8.0.40
Source Code Documentation

Instrumented socket implementation. More...

#include <pfs_instr.h>

Inheritance diagram for PFS_socket:
[legend]

Public Member Functions

uint32 get_version ()
 

Public Attributes

pfs_lock m_lock
 Internal lock. More...
 
bool m_timed
 Timed flag. More...
 
PFS_opaque_container_page * m_page
 Container page. More...
 
const void * m_identity
 Socket identity, typically int. More...
 
PFS_threadm_thread_owner
 Owning thread, if applicable. More...
 
my_socket m_fd
 Socket file descriptor. More...
 
struct sockaddr_storage m_sock_addr
 Raw socket address. More...
 
socklen_t m_addr_len
 Length of address. More...
 
bool m_idle
 Idle flag. More...
 
PFS_socket_classm_class
 Socket class. More...
 
PFS_socket_stat m_socket_stat
 Socket usage statistics. More...
 
- Public Attributes inherited from PSI_instr
bool m_enabled
 Instrumentation is enabled. More...
 

Detailed Description

Instrumented socket implementation.

See also
PSI_socket.

Member Function Documentation

◆ get_version()

uint32 PFS_socket::get_version ( )
inline

Member Data Documentation

◆ m_addr_len

socklen_t PFS_socket::m_addr_len

Length of address.

◆ m_class

PFS_socket_class* PFS_socket::m_class

Socket class.

◆ m_fd

my_socket PFS_socket::m_fd

Socket file descriptor.

◆ m_identity

const void* PFS_socket::m_identity

Socket identity, typically int.

◆ m_idle

bool PFS_socket::m_idle

Idle flag.

◆ m_lock

pfs_lock PFS_socket::m_lock

Internal lock.

◆ m_page

PFS_opaque_container_page* PFS_socket::m_page

Container page.

◆ m_sock_addr

struct sockaddr_storage PFS_socket::m_sock_addr

Raw socket address.

◆ m_socket_stat

PFS_socket_stat PFS_socket::m_socket_stat

Socket usage statistics.

◆ m_thread_owner

PFS_thread* PFS_socket::m_thread_owner

Owning thread, if applicable.

◆ m_timed

bool PFS_socket::m_timed

Timed flag.


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