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
Hide 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
...
@@ -3612,6 +3612,7 @@ UNIV_INTERN
ulint
ulint
buf_get_latched_pages_number
(
void
)
buf_get_latched_pages_number
(
void
)
/*==============================*/
/*==============================*/
/* out: number of latched pages */
{
{
buf_chunk_t
*
chunk
;
buf_chunk_t
*
chunk
;
buf_page_t
*
b
;
buf_page_t
*
b
;
...
@@ -3700,6 +3701,7 @@ UNIV_INTERN
...
@@ -3700,6 +3701,7 @@ UNIV_INTERN
ulint
ulint
buf_get_n_pending_ios
(
void
)
buf_get_n_pending_ios
(
void
)
/*=======================*/
/*=======================*/
/* out: number of pending I/O operations */
{
{
return
(
buf_pool
->
n_pend_reads
return
(
buf_pool
->
n_pend_reads
+
buf_pool
->
n_flush
[
BUF_FLUSH_LRU
]
+
buf_pool
->
n_flush
[
BUF_FLUSH_LRU
]
...
@@ -3714,6 +3716,7 @@ UNIV_INTERN
...
@@ -3714,6 +3716,7 @@ UNIV_INTERN
ulint
ulint
buf_get_modified_ratio_pct
(
void
)
buf_get_modified_ratio_pct
(
void
)
/*============================*/
/*============================*/
/* out: modified page percentage ratio */
{
{
ulint
ratio
;
ulint
ratio
;
...
@@ -3828,11 +3831,12 @@ buf_refresh_io_stats(void)
...
@@ -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
UNIV_INTERN
ibool
ibool
buf_all_freed
(
void
)
buf_all_freed
(
void
)
/*===============*/
/*===============*/
/* out: TRUE */
{
{
buf_chunk_t
*
chunk
;
buf_chunk_t
*
chunk
;
ulint
i
;
ulint
i
;
...
@@ -3893,6 +3897,7 @@ UNIV_INTERN
...
@@ -3893,6 +3897,7 @@ UNIV_INTERN
ulint
ulint
buf_get_free_list_len
(
void
)
buf_get_free_list_len
(
void
)
/*=======================*/
/*=======================*/
/* out: length of the free list */
{
{
ulint
len
;
ulint
len
;
...
...
include/buf0buf.h
View file @
b10bc48d
...
@@ -566,6 +566,7 @@ UNIV_INTERN
...
@@ -566,6 +566,7 @@ UNIV_INTERN
ulint
ulint
buf_get_latched_pages_number
(
void
);
buf_get_latched_pages_number
(
void
);
/*==============================*/
/*==============================*/
/* out: number of latched pages */
#endif
/* UNIV_DEBUG */
#endif
/* UNIV_DEBUG */
/*************************************************************************
/*************************************************************************
Returns the number of pending buf pool ios. */
Returns the number of pending buf pool ios. */
...
@@ -573,6 +574,7 @@ UNIV_INTERN
...
@@ -573,6 +574,7 @@ UNIV_INTERN
ulint
ulint
buf_get_n_pending_ios
(
void
);
buf_get_n_pending_ios
(
void
);
/*=======================*/
/*=======================*/
/* out: number of pending I/O operations */
/*************************************************************************
/*************************************************************************
Prints info of the buffer i/o. */
Prints info of the buffer i/o. */
UNIV_INTERN
UNIV_INTERN
...
@@ -587,6 +589,7 @@ UNIV_INTERN
...
@@ -587,6 +589,7 @@ UNIV_INTERN
ulint
ulint
buf_get_modified_ratio_pct
(
void
);
buf_get_modified_ratio_pct
(
void
);
/*============================*/
/*============================*/
/* out: modified page percentage ratio */
/**************************************************************************
/**************************************************************************
Refreshes the statistics used to print per-second averages. */
Refreshes the statistics used to print per-second averages. */
UNIV_INTERN
UNIV_INTERN
...
@@ -594,11 +597,12 @@ void
...
@@ -594,11 +597,12 @@ void
buf_refresh_io_stats
(
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
UNIV_INTERN
ibool
ibool
buf_all_freed
(
void
);
buf_all_freed
(
void
);
/*===============*/
/*===============*/
/* out: TRUE */
/*************************************************************************
/*************************************************************************
Checks that there currently are no pending i/o-operations for the buffer
Checks that there currently are no pending i/o-operations for the buffer
pool. */
pool. */
...
@@ -1018,6 +1022,7 @@ UNIV_INTERN
...
@@ -1018,6 +1022,7 @@ UNIV_INTERN
ulint
ulint
buf_get_free_list_len
(
void
);
buf_get_free_list_len
(
void
);
/*=======================*/
/*=======================*/
/* out: length of the free list */
#endif
/* !UNIV_HOTBACKUP */
#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