Yueh-Hsuan Chiang 7062d0ea68 Make perf_context.db_mutex_lock_nanos and db_condition_wait_nanos only measures DB Mutex
Summary:
In the current implementation, perf_context.db_mutex_lock_nanos and
perf_context.db_condition_wait_nanos also include the mutex-wait time
other than DB Mutex.

This patch fix this issue by incrementing the counters only when it detects
a DB mutex.

Test Plan: perf_context_test

Reviewers: anthony, IslamAbdelRahman, sdong, igor

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D48555
2015-10-13 10:41:48 -07:00
..
2015-09-14 11:54:47 -07:00
2015-09-25 13:55:11 -07:00
2015-09-28 11:51:32 -07:00
2015-07-22 14:36:43 -07:00
2015-07-01 16:13:56 -07:00
2015-04-25 18:14:27 +09:00
2014-11-07 15:04:30 -08:00
2015-03-17 14:08:00 -07:00
2014-08-19 06:48:21 -07:00
2015-03-17 14:08:00 -07:00
2015-10-01 08:29:31 +13:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2014-11-20 10:49:32 -08:00
2015-07-16 11:22:21 +02:00
2015-04-25 18:14:27 +09:00
2015-04-25 18:14:27 +09:00
2015-07-01 16:13:56 -07:00
2015-07-20 17:20:40 -07:00
2015-07-20 17:20:40 -07:00
2015-08-12 10:18:59 -07:00
2015-07-01 16:13:56 -07:00
2015-07-01 16:13:56 -07:00
2015-07-01 16:13:56 -07:00
2015-08-31 16:13:29 -07:00
2014-11-21 11:05:28 -05:00
2015-07-01 16:13:56 -07:00
2015-09-17 11:42:56 -07:00
2015-10-07 09:30:03 -07:00
2015-03-17 14:08:00 -07:00
2015-07-01 16:13:56 -07:00
2015-10-01 08:29:31 +13:00