[tracing] Add a dump provider to dump process memory totals.
commitc96eca7cc1b3a9c6de89b4928637dfa9412e74b5
authorprimiano <primiano@chromium.org>
Fri, 20 Feb 2015 16:41:14 +0000 (20 08:41 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 16:41:56 +0000 (20 16:41 +0000)
treee3515f43f16fe06f552c215bace02f85adf35a01
parentfcaf87dba8e3ae20df648d169eb379d38697a552
[tracing] Add a dump provider to dump process memory totals.

This CL introduces a dump provider which is able to capture
the process Resident Set Size and the corresponding unittest.

BUG=442731,458295

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

Cr-Commit-Position: refs/heads/master@{#317336}
base/BUILD.gn
base/base.gyp
base/base.gypi
base/trace_event/memory_dump_manager.cc
base/trace_event/process_memory_dump.cc
base/trace_event/process_memory_dump.h
base/trace_event/process_memory_totals.cc [new file with mode: 0644]
base/trace_event/process_memory_totals.h [new file with mode: 0644]
base/trace_event/process_memory_totals_dump_provider.cc [new file with mode: 0644]
base/trace_event/process_memory_totals_dump_provider.h [new file with mode: 0644]
base/trace_event/process_memory_totals_dump_provider_unittest.cc [new file with mode: 0644]