MySQL 9.1.0
Source Code Documentation
pfs_host.h File Reference

Performance schema host (declarations). More...

#include <sys/types.h>
#include <atomic>
#include "lf.h"
#include "my_hostname.h"
#include "my_inttypes.h"
#include "mysql_com.h"
#include "storage/perfschema/pfs_con_slice.h"
#include "storage/perfschema/pfs_global.h"
#include "storage/perfschema/pfs_lock.h"
#include "storage/perfschema/pfs_name.h"

Go to the source code of this file.

Classes

struct  PFS_host_key
 Hash key for a host. More...
 
struct  PFS_host
 Per host statistics. More...
 

Functions

int init_host (const PFS_global_param *param)
 Initialize the host buffers. More...
 
void cleanup_host ()
 Cleanup all the host buffers. More...
 
int init_host_hash (const PFS_global_param *param)
 Initialize the host hash. More...
 
void cleanup_host_hash ()
 Cleanup the host hash. More...
 
PFS_hostfind_or_create_host (PFS_thread *thread, const PFS_host_name *host)
 
PFS_hostsanitize_host (PFS_host *unsafe)
 
void purge_all_host ()
 Purge non connected hosts, reset stats of connected hosts. More...
 

Variables

LF_HASH host_hash
 

Detailed Description

Performance schema host (declarations).