pfs_instr_class.h | pfs_instr_class.h | |||
---|---|---|---|---|
/* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reser ved. | /* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reser ved. | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; version 2 of the License. | the Free Software Foundation; version 2 of the License. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | GNU General Public License for more details. | |||
skipping to change at line 366 | skipping to change at line 366 | |||
{ | { | |||
/** File usage statistics. */ | /** File usage statistics. */ | |||
PFS_file_stat m_file_stat; | PFS_file_stat m_file_stat; | |||
/** Singleton instance. */ | /** Singleton instance. */ | |||
PFS_file *m_singleton; | PFS_file *m_singleton; | |||
}; | }; | |||
/** Instrumentation metadata for a stage. */ | /** Instrumentation metadata for a stage. */ | |||
struct PFS_ALIGNED PFS_stage_class : public PFS_instr_class | struct PFS_ALIGNED PFS_stage_class : public PFS_instr_class | |||
{ | { | |||
/** | ||||
Length of the 'stage/<component>/' prefix. | ||||
This is to extract 'foo' from 'stage/sql/foo'. | ||||
*/ | ||||
uint m_prefix_length; | ||||
/** Stage usage statistics. */ | /** Stage usage statistics. */ | |||
PFS_stage_stat m_stage_stat; | PFS_stage_stat m_stage_stat; | |||
}; | }; | |||
/** Instrumentation metadata for a statement. */ | /** Instrumentation metadata for a statement. */ | |||
struct PFS_ALIGNED PFS_statement_class : public PFS_instr_class | struct PFS_ALIGNED PFS_statement_class : public PFS_instr_class | |||
{ | { | |||
}; | }; | |||
struct PFS_socket; | struct PFS_socket; | |||
skipping to change at line 425 | skipping to change at line 430 | |||
PFS_sync_key register_cond_class(const char *name, uint name_length, | PFS_sync_key register_cond_class(const char *name, uint name_length, | |||
int flags); | int flags); | |||
PFS_thread_key register_thread_class(const char *name, uint name_length, | PFS_thread_key register_thread_class(const char *name, uint name_length, | |||
int flags); | int flags); | |||
PFS_file_key register_file_class(const char *name, uint name_length, | PFS_file_key register_file_class(const char *name, uint name_length, | |||
int flags); | int flags); | |||
PFS_stage_key register_stage_class(const char *name, uint name_length, | PFS_stage_key register_stage_class(const char *name, | |||
uint prefix_length, | ||||
uint name_length, | ||||
int flags); | int flags); | |||
PFS_statement_key register_statement_class(const char *name, uint name_leng th, | PFS_statement_key register_statement_class(const char *name, uint name_leng th, | |||
int flags); | int flags); | |||
PFS_socket_key register_socket_class(const char *name, uint name_length, | PFS_socket_key register_socket_class(const char *name, uint name_length, | |||
int flags); | int flags); | |||
PFS_mutex_class *find_mutex_class(PSI_mutex_key key); | PFS_mutex_class *find_mutex_class(PSI_mutex_key key); | |||
PFS_mutex_class *sanitize_mutex_class(PFS_mutex_class *unsafe); | PFS_mutex_class *sanitize_mutex_class(PFS_mutex_class *unsafe); | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 9 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |