[Telemetry] Refactor ResultsWrapperInterface to persist across runs.
We want to enable ResultsWrapperInterface instances to track custom state, as
we currently do in smoothness to ensure that all values added have the same IR.
This refactors ResultsWrapperInterface so that
timeline_based_measurement._TimelineBasedMetrics is responsible for setting the
label and results on a passed wrapper instance, rather than constructing a new
instance each time, to make this possible.
BUG=461101
R=nednguyen
TEST=tools/telemetry/run_tests web_perf; tools/perf/run_tests smoothness;
tools/perf/run_benchmark smoothness.top_25_smooth
CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_perf_bisect;tryserver.chromium.perf:win_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect
Review URL: https://codereview.chromium.org/
1274943002
Cr-Commit-Position: refs/heads/master@{#342185}