diff options
| author | Leo Yan <[email protected]> | 2023-03-15 22:50:57 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-03-15 16:13:45 -0300 |
| commit | 9c3aa1f41178d75c7eabfa818bc02b698b5f152e (patch) | |
| tree | 5c55ccbccea4435416a246afb77c59ae158ea274 /tools/perf/scripts/python | |
| parent | c46bf3bd00167e09729f884dd479b0a8d1a63f95 (diff) | |
perf kvm: Refactor overall statistics
Currently the tool computes overall statistics when sort the results.
This patch refactors overall statistics during events processing,
therefore, the function update_total_coun() is not needed anymore, an
extra benefit is we can de-couple code between the statistics and the
sorting.
This patch is not expected any functionality changes.
Reviewed-by: James Clark <[email protected]>
Signed-off-by: Leo Yan <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions