MySQL 5.6.14 Source Code Document
 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 
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  {
67  }
68 
70  void reset_waits_stats();
72  void reset_stages_stats();
75 
83 
91 
99 };
100 
102 #endif
103