perf test: Reset shadow counts before loading

Otherwise load counting is an average. Without this change
duration_time in test_memory_bandwidth will alter its value if an
earlier test contains duration_time.

This patch fixes an issue that's introduced in the proposed patch:
in perf test "Parse and process metrics".

Signed-off-by: Ian Rogers <>
Acked-by: Jiri Olsa <>
Cc: Alexander Shishkin <>
Cc: Andi Kleen <>
Cc: John Garry <>
Cc: Kajol Jain <>
Cc: Kan Liang <>
Cc: Mark Rutland <>
Cc: Namhyung Kim <>
Cc: Paul Clarke <>
Cc: Peter Zijlstra <>
Cc: Stephane Eranian <>
Signed-off-by: Arnaldo Carvalho de Melo <>
1 file changed