~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/mem0dbg.h

  • Committer: Brian Aker
  • Date: 2008-09-04 19:31:00 UTC
  • Revision ID: brian@tangent.org-20080904193100-l849hgghfy4urj43
Changing default character set from this point on.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
the debug version), the physical size of the heap and the number of
38
38
blocks in the heap. In case of error returns 0 as sizes and number
39
39
of blocks. */
40
 
UNIV_INTERN
 
40
 
41
41
void
42
42
mem_heap_validate_or_print(
43
43
/*=======================*/
62
62
                                argument, it is ignored */
63
63
/******************************************************************
64
64
Validates the contents of a memory heap. */
65
 
UNIV_INTERN
 
65
 
66
66
ibool
67
67
mem_heap_validate(
68
68
/*==============*/
72
72
#ifdef UNIV_DEBUG
73
73
/******************************************************************
74
74
Checks that an object is a memory heap (or a block of it) */
75
 
UNIV_INTERN
 
75
 
76
76
ibool
77
77
mem_heap_check(
78
78
/*===========*/
82
82
#ifdef UNIV_MEM_DEBUG
83
83
/*********************************************************************
84
84
TRUE if no memory is currently allocated. */
85
 
UNIV_INTERN
 
85
 
86
86
ibool
87
87
mem_all_freed(void);
88
88
/*===============*/
89
89
                        /* out: TRUE if no heaps exist */
90
90
/*********************************************************************
91
91
Validates the dynamic memory */
92
 
UNIV_INTERN
 
92
 
93
93
ibool
94
94
mem_validate_no_assert(void);
95
95
/*=========================*/
96
96
                        /* out: TRUE if error */
97
97
/****************************************************************
98
98
Validates the dynamic memory */
99
 
UNIV_INTERN
 
99
 
100
100
ibool
101
101
mem_validate(void);
102
102
/*===============*/
105
105
/****************************************************************
106
106
Tries to find neigboring memory allocation blocks and dumps to stderr
107
107
the neighborhood of a given pointer. */
108
 
UNIV_INTERN
 
108
 
109
109
void
110
110
mem_analyze_corruption(
111
111
/*===================*/
113
113
/*********************************************************************
114
114
Prints information of dynamic memory usage and currently allocated memory
115
115
heaps or buffers. Can only be used in the debug version. */
116
 
UNIV_INTERN
 
116
 
117
117
void
118
118
mem_print_info(void);
119
119
/*================*/
120
120
/*********************************************************************
121
121
Prints information of dynamic memory usage and currently allocated memory
122
122
heaps or buffers since the last ..._print_info or..._print_new_info. */
123
 
UNIV_INTERN
 
123
 
124
124
void
125
125
mem_print_new_info(void);
126
126
/*====================*/