Hi Jiri,
On 5/5/2020 7:41 AM, Jiri Olsa wrote:
On Sat, May 02, 2020 at 10:07:05AM +0800, Jin Yao wrote:
SNIP
init_stats(&walltime_nsecs_stats);
update_stats(&walltime_nsecs_stats, stat_config.interval * 100);
print_counters(&rs, 0, NULL);
+ walltime_nsecs_sta
On Sat, May 02, 2020 at 10:07:05AM +0800, Jin Yao wrote:
SNIP
> init_stats(&walltime_nsecs_stats);
> update_stats(&walltime_nsecs_stats, stat_config.interval * 100);
> print_counters(&rs, 0, NULL);
> + walltime_nsecs_stats = walltime_nsecs_stats_bak;
> }
>
> static v
Currently perf-stat supports to print counts at regular interval (-I),
but it's not very easy for user to get the overall statistics.
The patch uses 'evsel->summary_counts' to sum up the per interval counts
and copy the counts to 'evsel->counts' after printing the interval results.
Next, we just f
3 matches
Mail list logo