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
19ffb74a
Commit
19ffb74a
authored
Jun 21, 2007
by
vasil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some comments.
Approved by: Heikki (via IM)
parent
52658b5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
sync/sync0rw.c
sync/sync0rw.c
+18
-0
sync/sync0sync.c
sync/sync0sync.c
+1
-0
No files found.
sync/sync0rw.c
View file @
19ffb74a
...
@@ -15,16 +15,34 @@ Created 9/11/1995 Heikki Tuuri
...
@@ -15,16 +15,34 @@ Created 9/11/1995 Heikki Tuuri
#include "mem0mem.h"
#include "mem0mem.h"
#include "srv0srv.h"
#include "srv0srv.h"
/* number of system calls made during shared latching */
ulint
rw_s_system_call_count
=
0
;
ulint
rw_s_system_call_count
=
0
;
/* number of spin waits on rw-latches,
resulted during shared (read) locks */
ulint
rw_s_spin_wait_count
=
0
;
ulint
rw_s_spin_wait_count
=
0
;
/* number of OS waits on rw-latches,
resulted during shared (read) locks */
ulint
rw_s_os_wait_count
=
0
;
ulint
rw_s_os_wait_count
=
0
;
/* number of unlocks (that unlock shared locks),
set only when UNIV_SYNC_PERF_STAT is defined */
ulint
rw_s_exit_count
=
0
;
ulint
rw_s_exit_count
=
0
;
/* number of system calls made during exclusive latching */
ulint
rw_x_system_call_count
=
0
;
ulint
rw_x_system_call_count
=
0
;
/* number of spin waits on rw-latches,
resulted during exclusive (write) locks */
ulint
rw_x_spin_wait_count
=
0
;
ulint
rw_x_spin_wait_count
=
0
;
/* number of OS waits on rw-latches,
resulted during exclusive (write) locks */
ulint
rw_x_os_wait_count
=
0
;
ulint
rw_x_os_wait_count
=
0
;
/* number of unlocks (that unlock exclusive locks),
set only when UNIV_SYNC_PERF_STAT is defined */
ulint
rw_x_exit_count
=
0
;
ulint
rw_x_exit_count
=
0
;
/* The global list of rw-locks */
/* The global list of rw-locks */
...
...
sync/sync0sync.c
View file @
19ffb74a
...
@@ -115,6 +115,7 @@ ulint mutex_system_call_count = 0;
...
@@ -115,6 +115,7 @@ ulint mutex_system_call_count = 0;
/* Number of spin waits on mutexes: for performance monitoring */
/* Number of spin waits on mutexes: for performance monitoring */
/* round=one iteration of a spin loop */
ulint
mutex_spin_round_count
=
0
;
ulint
mutex_spin_round_count
=
0
;
ulint
mutex_spin_wait_count
=
0
;
ulint
mutex_spin_wait_count
=
0
;
ulint
mutex_os_wait_count
=
0
;
ulint
mutex_os_wait_count
=
0
;
...
...
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