diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-12-19 12:27:27 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-12-19 12:27:27 -0500 |
commit | 7ba1e912a452ceeb40adfdef9254518dc7051847 (patch) | |
tree | f0caf637f75c44956f28edf8a60931e3f861a25d /dist/stat_data.py | |
parent | ba33077a1ab020d93c5fb68d380e7cb00e3cf3e3 (diff) | |
download | mongo-7ba1e912a452ceeb40adfdef9254518dc7051847.tar.gz |
busy-work: sort the stat options, make the stat options units match
other stat option strings, sleep_cnt and wait_cnt should be unsigned,
initialize wait_cnt to 0 and increment it in the if/test for clarity,
rename page_in_sleep to page_sleep, matches other yield fields.
Diffstat (limited to 'dist/stat_data.py')
-rw-r--r-- | dist/stat_data.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/stat_data.py b/dist/stat_data.py index c6ba0f83270..a6a047fd10e 100644 --- a/dist/stat_data.py +++ b/dist/stat_data.py @@ -309,11 +309,11 @@ connection_stats = [ ########################################## # Yield statistics ########################################## - YieldStat('page_locked_blocked', 'page acquire locked blocked'), - YieldStat('page_read_blocked', 'page acquire read blocked'), YieldStat('page_busy_blocked', 'page acquire busy blocked'), YieldStat('page_forcible_evict_blocked', 'page acquire eviction blocked'), - YieldStat('page_in_sleep', 'page acquire time sleeping in microseconds'), + YieldStat('page_locked_blocked', 'page acquire locked blocked'), + YieldStat('page_read_blocked', 'page acquire read blocked'), + YieldStat('page_sleep', 'page acquire time sleeping (usecs)'), ] connection_stats = sorted(connection_stats, key=attrgetter('name')) |