crosperf: collect CPU cycles for CWP approximation

This patch added functionality to collect CPU cycles in Result object
for each benchmark run. It will work when cwp_dso is specified.

BUG=chromium:902785
TEST=Tested locally with telemetry_Crosperf with cwp_dso

Change-Id: I15e187220876084eb696ffd8f3b01304ac4b96b6
Reviewed-on: https://chromium-review.googlesource.com/1340722
Commit-Ready: Zhizhou Yang <zhizhouy@google.com>
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
1 file changed