Report difference in browser memory usage from Start() to Stop() of the metric.
commit167a72b9df670dea24e75d1dbc2365f42f90ef19
authorshadi@chromium.org <shadi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 31 Mar 2014 21:14:27 +0000 (31 21:14 +0000)
committershadi@chromium.org <shadi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 31 Mar 2014 21:14:27 +0000 (31 21:14 +0000)
treecaa1c4573173e63f40b26c9c91839835189369a8
parent61a969267d6cd58552f1a597c6e1cf3e493b837d
Report difference in browser memory usage from Start() to Stop() of the metric.

Similar to how histogram memory usage is reported as difference between Start() and Stop() of the metric.  It makes sense for some tests to measure only the change in memory usage for a test page instead of just the final browser memory.

Since, some tests might still want to report only the end browser memory usage, a "report_memory_delta" argument is added to memory metric.

BUG=324951

Review URL: https://codereview.chromium.org/106023003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260648 0039d316-1c4b-4281-b951-d872f2087c98
tools/perf/measurements/media.py
tools/perf/metrics/memory.py
tools/perf/metrics/system_memory.py [new file with mode: 0644]