MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pfs_con_slice.h
Go to the documentation of this file.
1
/* Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
2
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
11
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
15
16
#ifndef PFS_CON_SLICE_H
17
#define PFS_CON_SLICE_H
18
24
#include "
pfs_lock.h
"
25
#include "lf.h"
26
27
struct
PFS_single_stat
;
28
struct
PFS_stage_stat
;
29
struct
PFS_statement_stat
;
30
40
struct
PFS_connection_slice
41
{
47
static
PFS_single_stat
*
alloc_waits_slice
(uint sizing);
53
static
PFS_stage_stat
*
alloc_stages_slice
(uint sizing);
59
static
PFS_statement_stat
*
alloc_statements_slice
(uint sizing);
60
62
inline
void
reset_stats
()
63
{
64
reset_waits_stats
();
65
reset_stages_stats
();
66
reset_statements_stats
();
67
}
68
70
void
reset_waits_stats
();
72
void
reset_stages_stats
();
74
void
reset_statements_stats
();
75
82
PFS_single_stat
*
m_instr_class_waits_stats
;
83
90
PFS_stage_stat
*
m_instr_class_stages_stats
;
91
98
PFS_statement_stat
*
m_instr_class_statements_stats
;
99
};
100
102
#endif
103
storage
perfschema
pfs_con_slice.h
Generated on Sat Nov 9 2013 01:28:39 for MySQL 5.6.14 Source Code Document by
1.8.1.2