aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorStefan Raspl <[email protected]>2017-06-07 21:08:26 +0200
committerPaolo Bonzini <[email protected]>2017-06-08 18:13:23 +0200
commit124c2fc9fdf5fb1d9cea4707d7e5471e317ba3bf (patch)
treee2551445b4cd606a2446835a0d37300eec96f212 /tools/perf/scripts/python/bin/stackcollapse-record
parent773bffeeb2f1fca7739516d0a5a814dd14a5cc83 (diff)
tools/kvm_stat: fix event counts display for interrupted intervals
When an update interval is interrupted via key press (e.g. space), the 'Current' column value is calculated using the full interval length instead of the elapsed time, which leads to lower than actual numbers. Furthermore, the value should be rounded, not truncated. This is fixed by using the actual elapsed time for the calculation. Signed-off-by: Stefan Raspl <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions