Skip to content

Commit

Permalink
WT-2762 Handle 'Y' from wtperf monitor file. (#2871)
Browse files Browse the repository at this point in the history
  • Loading branch information
sueloverso authored and keithbostic committed Jul 12, 2016
1 parent 68b63b1 commit 4cfda37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/wtstats/wtstats.py
Expand Up @@ -137,6 +137,8 @@ def parse_wtperf_file(file, result):
for i, v in enumerate(values):
if v == 'N':
v = 0
if v == 'Y':
v = 1
# convert us to ms
if '(ms)' in headings[i]:
v = float(v) / 1000.0
Expand Down

0 comments on commit 4cfda37

Please sign in to comment.