CUBRID Engine  latest
statistics_sr.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 
20 /*
21  * statistics_sr.h -
22  */
23 
24 #ifndef _STATISTICS_SR_H_
25 #define _STATISTICS_SR_H_
26 
27 #ident "$Id$"
28 
29 #if !defined (SERVER_MODE) && !defined (SA_MODE)
30 #error Belongs to server module
31 #endif /* !defined (SERVER_MODE) && !defined (SA_MODE) */
32 
33 #include "dbtype_def.h"
34 #include "statistics.h"
35 #include "system_catalog.h"
37 
38 extern unsigned int stats_get_time_stamp (void);
39 extern const BTREE_STATS *stats_find_inherited_index_stats (OR_CLASSREP * cls_rep, OR_CLASSREP * subcls_rep,
40  DISK_ATTR * subcls_attr, BTID * cls_btid);
41 #if defined(CUBRID_DEBUG)
42 extern void stats_dump_class_statistics (CLASS_STATS * class_stats, FILE * fpp);
43 #endif /* CUBRID_DEBUG */
44 
45 #endif /* _STATISTICS_SR_H_ */
unsigned int stats_get_time_stamp(void)
const BTREE_STATS * stats_find_inherited_index_stats(OR_CLASSREP *cls_rep, OR_CLASSREP *subcls_rep, DISK_ATTR *subcls_attr, BTID *cls_btid)