Yueh-Hsuan Chiang
181191a1e4
Add a counter for collecting the wait time on db mutex.
...
Summary:
Add a counter for collecting the wait time on db mutex.
Also add MutexWrapper and CondVarWrapper for measuring wait time.
Test Plan:
./db_test
export ROCKSDB_TESTS=MutexWaitStats
./db_test
verify stats output using db_bench
make clean
make release
./db_bench --statistics=1 --benchmarks=fillseq,readwhilewriting --num=10000 --threads=10
Sample output:
rocksdb.db.mutex.wait.micros COUNT : 7546866
Reviewers: MarkCallaghan, rven, sdong, igor
Reviewed By: igor
Subscribers: dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D32787
2015-02-04 21:39:45 -08:00
..
2014-10-31 11:59:54 -07:00
2014-09-04 16:18:36 -07:00
2014-11-25 23:07:40 +00:00
2014-12-02 12:09:20 -08:00
2014-12-11 13:27:57 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 16:20:25 -08:00
2015-02-04 16:04:51 -08:00
2015-02-04 16:04:51 -08:00
2015-01-15 12:44:19 -08:00
2015-01-15 12:44:19 -08:00
2014-11-24 20:44:49 -08:00
2015-01-05 10:26:34 -08:00
2014-11-24 15:18:09 -08:00
2015-01-21 18:23:12 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2014-12-22 12:20:17 -08:00
2014-11-26 11:37:59 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2015-02-03 09:48:03 -08:00
2014-12-04 11:11:11 -08:00
2014-09-08 15:04:34 -07:00
2015-02-04 21:39:45 -08:00
2014-07-23 12:31:11 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-24 20:44:49 -08:00
2015-01-28 14:07:25 -08:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-08-14 13:22:50 -07:00
2015-01-22 14:32:03 -08:00
2015-01-22 14:32:03 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2014-10-02 14:33:16 -07:00
2015-01-26 11:48:07 -08:00
2014-11-18 10:20:10 -08:00
2014-11-10 15:44:20 -08:00
2015-01-09 11:44:19 -08:00
2015-01-09 11:44:19 -08:00
2014-12-22 12:04:45 +01:00
2015-01-27 15:01:04 -08:00
2015-02-04 21:39:45 -08:00
2014-01-02 16:32:31 -08:00
2014-11-13 14:39:30 -05:00
2014-01-27 14:49:10 -08:00
2014-11-11 16:47:22 -05:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-12-02 12:09:20 -08:00
2014-12-02 12:09:20 -08:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2014-12-02 12:09:20 -08:00
2015-02-03 12:19:56 -08:00
2015-01-13 12:27:28 -08:00
2014-03-24 17:57:13 -07:00
2014-11-06 11:14:28 -08:00
2014-07-30 17:24:36 -07:00
2014-03-26 18:11:41 -07:00
2014-11-11 16:47:22 -05:00
2014-11-24 20:44:49 -08:00
2014-11-24 20:44:49 -08:00
2014-11-24 20:44:49 -08:00
2014-12-02 12:09:20 -08:00
2014-11-11 16:47:22 -05:00
2014-12-02 12:09:20 -08:00
2015-01-29 18:22:43 -08:00
2014-10-28 17:52:32 -07:00
2014-09-29 11:09:09 -07:00
2014-09-05 09:53:04 -07:00
2014-11-24 20:44:49 -08:00
2014-05-13 12:30:55 -07:00
2014-11-06 11:14:28 -08:00
2014-11-06 11:14:28 -08:00
2015-02-04 16:04:51 -08:00
2015-01-07 10:36:58 -08:00
2014-10-31 16:34:38 -07:00
2014-11-11 16:47:22 -05:00
2014-10-31 11:59:54 -07:00
2015-02-04 16:04:51 -08:00
2014-10-28 10:03:13 -07:00
2015-02-04 21:39:45 -08:00
2015-02-04 21:39:45 -08:00
2014-12-02 12:09:20 -08:00
2015-01-23 17:35:12 -08:00
2014-11-10 17:39:38 -05:00
2014-11-18 10:20:10 -08:00
2014-12-04 12:01:55 -08:00
2015-01-06 12:44:21 -08:00
2014-09-08 11:20:25 -07:00
2014-09-08 11:20:25 -07:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00
2015-02-04 21:39:45 -08:00
2014-12-02 12:09:20 -08:00