List:Commits« Previous MessageNext Message »
From:Mark Leith Date:June 30 2010 9:13am
Subject:bzr commit into mysql-trunk-innodb branch (mark.leith:3129) Bug#54726
View as plain text  
#At file:///Users/mark/mysql/mysql-trunk-innodb/ based on revid:marko.makela@stripped

 3129 Mark Leith	2010-06-30
      Bug#54726 - Inconsistent reporting between mutex and RW lock spin rounds
       - Add round counts to the output for RW s/x locks

    modified:
      storage/innobase/sync/sync0sync.c
=== modified file 'storage/innobase/sync/sync0sync.c'
--- a/storage/innobase/sync/sync0sync.c	revid:marko.makela@stripped
+++ b/storage/innobase/sync/sync0sync.c	revid:mark.leith@stripped
@@ -1492,14 +1492,16 @@ sync_print_wait_info(
 
 	fprintf(file,
 		"Mutex spin waits %llu, rounds %llu, OS waits %llu\n"
-		"RW-shared spins %llu, OS waits %llu;"
-		" RW-excl spins %llu, OS waits %llu\n",
+		"RW-shared spins %llu, rounds %llu, OS waits %llu\n"
+		"RW-excl spins %llu, rounds %llu, OS waits %llu\n",
 		mutex_spin_wait_count,
 		mutex_spin_round_count,
 		mutex_os_wait_count,
 		rw_s_spin_wait_count,
+		rw_s_spin_round_count,
 		rw_s_os_wait_count,
 		rw_x_spin_wait_count,
+		rw_x_spin_round_count,
 		rw_x_os_wait_count);
 
 	fprintf(file,


Attachment: [text/bzr-bundle] bzr/mark.leith@oracle.com-20100630091104-yxpjqu3ruebif2jb.bundle
Thread
bzr commit into mysql-trunk-innodb branch (mark.leith:3129) Bug#54726Mark Leith30 Jun