Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b10bc48d
Commit
b10bc48d
authored
May 18, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Add some missing out: comments to buf0buf.h, buf0buf.c.
parent
a512de67
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
buf/buf0buf.c
buf/buf0buf.c
+6
-1
include/buf0buf.h
include/buf0buf.h
+6
-1
No files found.
buf/buf0buf.c
View file @
b10bc48d
...
...
@@ -3612,6 +3612,7 @@ UNIV_INTERN
ulint
buf_get_latched_pages_number
(
void
)
/*==============================*/
/* out: number of latched pages */
{
buf_chunk_t
*
chunk
;
buf_page_t
*
b
;
...
...
@@ -3700,6 +3701,7 @@ UNIV_INTERN
ulint
buf_get_n_pending_ios
(
void
)
/*=======================*/
/* out: number of pending I/O operations */
{
return
(
buf_pool
->
n_pend_reads
+
buf_pool
->
n_flush
[
BUF_FLUSH_LRU
]
...
...
@@ -3714,6 +3716,7 @@ UNIV_INTERN
ulint
buf_get_modified_ratio_pct
(
void
)
/*============================*/
/* out: modified page percentage ratio */
{
ulint
ratio
;
...
...
@@ -3828,11 +3831,12 @@ buf_refresh_io_stats(void)
}
/*************************************************************************
Check
s that all file pages in the buffer are in a replaceable state. */
Assert
s that all file pages in the buffer are in a replaceable state. */
UNIV_INTERN
ibool
buf_all_freed
(
void
)
/*===============*/
/* out: TRUE */
{
buf_chunk_t
*
chunk
;
ulint
i
;
...
...
@@ -3893,6 +3897,7 @@ UNIV_INTERN
ulint
buf_get_free_list_len
(
void
)
/*=======================*/
/* out: length of the free list */
{
ulint
len
;
...
...
include/buf0buf.h
View file @
b10bc48d
...
...
@@ -566,6 +566,7 @@ UNIV_INTERN
ulint
buf_get_latched_pages_number
(
void
);
/*==============================*/
/* out: number of latched pages */
#endif
/* UNIV_DEBUG */
/*************************************************************************
Returns the number of pending buf pool ios. */
...
...
@@ -573,6 +574,7 @@ UNIV_INTERN
ulint
buf_get_n_pending_ios
(
void
);
/*=======================*/
/* out: number of pending I/O operations */
/*************************************************************************
Prints info of the buffer i/o. */
UNIV_INTERN
...
...
@@ -587,6 +589,7 @@ UNIV_INTERN
ulint
buf_get_modified_ratio_pct
(
void
);
/*============================*/
/* out: modified page percentage ratio */
/**************************************************************************
Refreshes the statistics used to print per-second averages. */
UNIV_INTERN
...
...
@@ -594,11 +597,12 @@ void
buf_refresh_io_stats
(
void
);
/*======================*/
/*************************************************************************
Check
s that all file pages in the buffer are in a replaceable state. */
Assert
s that all file pages in the buffer are in a replaceable state. */
UNIV_INTERN
ibool
buf_all_freed
(
void
);
/*===============*/
/* out: TRUE */
/*************************************************************************
Checks that there currently are no pending i/o-operations for the buffer
pool. */
...
...
@@ -1018,6 +1022,7 @@ UNIV_INTERN
ulint
buf_get_free_list_len
(
void
);
/*=======================*/
/* out: length of the free list */
#endif
/* !UNIV_HOTBACKUP */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment