Debian Codegraph @

storage/perfschema/table_events_waits_summary.h

raw symbols SCIP
1 /* Copyright (c) 2008, 2023, Oracle and/or its affiliates.
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, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is also distributed with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have included with MySQL.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License, version 2.0, for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software Foundation,
21 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
22
23 #ifndef TABLE_EVENTS_WAITS_SUMMARY_H
24 #define TABLE_EVENTS_WAITS_SUMMARY_Hcxx . . $ `storage/perfschema/table_events_waits_summary.h:24:9`!
25
26 /**
27 @file storage/perfschema/table_events_waits_summary.h
28 Table EVENTS_WAITS_SUMMARY_BY_xxx (declarations).
29 */
30
31 #include "pfs_column_types.h"cxx . . $ `<file>/storage/perfschema/pfs_column_types.h`/
32 #include "pfs_engine_table.h"cxx . . $ `<file>/storage/perfschema/pfs_engine_table.h`/
33 #include "pfs_instr_class.h"cxx . . $ `<file>/storage/perfschema/pfs_instr_class.h`/
34 #include "pfs_instr.h"cxx . . $ `<file>/storage/perfschema/pfs_instr.h`/
35 #include "table_all_instr.h"cxx . . $ `<file>/storage/perfschema/table_all_instr.h`/
36 #include "table_helper.h"cxx . . $ `<file>/storage/perfschema/table_helper.h`/
37
38 /**
39 @addtogroup Performance_schema_tables
40 @{
41 */
42
43 /** A row of PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_INSTANCE. */
44 struct row_events_waits_summary_by_instancecxx . . $ row_events_waits_summary_by_instance#
45 {
46 /** Column EVENT_NAME. */
47 const char *m_namecxx . . $ row_events_waits_summary_by_instance#m_name.;
48 /** Length in bytes of @c m_name. */
49 uint m_name_lengthcxx . . $ row_events_waits_summary_by_instance#m_name_length.;
50 /** Column OBJECT_INSTANCE_BEGIN. */
51 intptrcxx . . $ intptr# m_object_instance_addrcxx . . $ row_events_waits_summary_by_instance#m_object_instance_addr.;
52 /** Columns COUNT_STAR, SUM/MIN/AVG/MAX TIMER_WAIT. */
53 PFS_stat_rowcxx . . $ PFS_stat_row# m_statcxx . . $ row_events_waits_summary_by_instance#m_stat.;
54 };
55
56 /** Table PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_INSTANCE. */
57 class table_events_waits_summary_by_instancecxx . . $ table_events_waits_summary_by_instance# : public table_all_instrcxx . . $ table_all_instr#
58 {
59 public:
60 static PFS_engine_table_share_statecxx . . $ PFS_engine_table_share_state# m_share_statecxx . . $ table_events_waits_summary_by_instance#m_share_state.;
61 /** Table share */
62 static PFS_engine_table_sharecxx . . $ PFS_engine_table_share# m_sharecxx . . $ table_events_waits_summary_by_instance#m_share.;
63 static PFS_engine_tablecxx . . $ PFS_engine_table#* createcxx . . $ table_events_waits_summary_by_instance#create(314e88453c9d561a).();
64 static int delete_all_rowscxx . . $ table_events_waits_summary_by_instance#delete_all_rows(b126dc7c1de90089).();
65
66 protected:
67 void make_instr_rowcxx . . $ table_events_waits_summary_by_instance#make_instr_row(1b5046b714c1cc6c).(PFS_instrcxx . . $ PFS_instr# *pfs, PFS_instr_classcxx . . $ PFS_instr_class# *klass,
68 const void *object_instance_begin,
69 PFS_single_statcxx . . $ PFS_single_stat# *pfs_stat);
70 void make_mutex_rowcxx . . $ table_events_waits_summary_by_instance#make_mutex_row(ad1246ba1b446285).(PFS_mutexcxx . . $ PFS_mutex# *pfs) override;
71 void make_rwlock_rowcxx . . $ table_events_waits_summary_by_instance#make_rwlock_row(964e8ae1a1c2fa02).(PFS_rwlockcxx . . $ PFS_rwlock# *pfs) override;
72 void make_cond_rowcxx . . $ table_events_waits_summary_by_instance#make_cond_row(f212d0d2bad0ccc9).(PFS_condcxx . . $ PFS_cond# *pfs) override;
73 void make_file_rowcxx . . $ table_events_waits_summary_by_instance#make_file_row(f0be1cd84ec017c2).(PFS_filecxx . . $ PFS_file# *pfs) override;
74 void make_socket_rowcxx . . $ table_events_waits_summary_by_instance#make_socket_row(6db815ca4ef257ab).(PFS_socketcxx . . $ PFS_socket# *pfs) override;
75
76 int read_row_valuescxx . . $ table_events_waits_summary_by_instance#read_row_values(139ec8e2a7764e1).(TABLEcxx . . $ TABLE# *table,
77 unsigned char *buf,
78 Fieldcxx . . $ Field# **fields,
79 bool read_all) override;
80
81 table_events_waits_summary_by_instancecxx . . $ table_events_waits_summary_by_instance#table_events_waits_summary_by_instance(49f6e7a06ebc5aa8).();
82
83 public:
84 ~cxx . . $ table_events_waits_summary_by_instance#`~table_events_waits_summary_by_instance`(ced63f7c635d850d).table_events_waits_summary_by_instancecxx . . $ table_events_waits_summary_by_instance#() = default;
85
86 private:
87 /** Table share lock. */
88 static THR_LOCK m_table_lockcxx . . $ table_events_waits_summary_by_instance#m_table_lock.;
89
90 /** Current row. */
91 row_events_waits_summary_by_instancecxx . . $ row_events_waits_summary_by_instance# m_rowcxx . . $ table_events_waits_summary_by_instance#m_row.;
92 /** True if the current row exists. */
93 bool m_row_existscxx . . $ table_events_waits_summary_by_instance#m_row_exists.;
94 };
95
96 /** @} */
97 #endif