MySQL 5.6.14 Source Code Document
|
#include "my_global.h"
#include "my_sys.h"
#include "pfs_global.h"
#include "my_net.h"
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
Go to the source code of this file.
Functions | |
void * | pfs_malloc (size_t size, myf flags) |
void | pfs_free (void *ptr) |
void | pfs_print_error (const char *format,...) |
uint | pfs_get_socket_address (char *host, uint host_len, uint *port, const struct sockaddr_storage *src_addr, socklen_t src_len) |
Variables | |
bool | pfs_initialized = false |
size_t | pfs_allocated_memory = 0 |
Miscellaneous global dependencies (implementation).
Definition in file pfs_global.cc.
void pfs_free | ( | void * | ptr | ) |
Free memory allocated with
Definition at line 89 of file pfs_global.cc.
uint pfs_get_socket_address | ( | char * | host, |
uint | host_len, | ||
uint * | port, | ||
const struct sockaddr_storage * | src_addr, | ||
socklen_t | src_len | ||
) |
Convert raw ip address into readable format. Do not do a reverse DNS lookup.
Definition at line 130 of file pfs_global.cc.
void* pfs_malloc | ( | size_t | size, |
myf | flags | ||
) |
Memory allocation for the performance schema. The memory used internally in the performance schema implementation is allocated once during startup, and considered static thereafter.
Definition at line 47 of file pfs_global.cc.
size_t pfs_allocated_memory = 0 |
Total memory allocated by the performance schema, in bytes.
Definition at line 40 of file pfs_global.cc.
bool pfs_initialized = false |
True when the performance schema is initialized.
Definition at line 39 of file pfs_global.cc.