DescriptionAdd units to memory allocator dump attributes
This patch aligns the attributes used by memory allocator dumps with
telemetry values
(https://code.google.com/p/chromium/codesearch#chromium/src/tools/telemetry/telemetry/value/__init__.py)
by introducing a 'units' field. This leads to the following
transformation:
ScalarAttribute(x) -> ScalarAttribute('objects', x)
BytesAttribute(x) -> ScalarAttribute('bytes', x)
This patch also renames the allocated_objects_count field to
objects_count.
BUG=#849
R=nduca@chromium.org, primiano@chromium.org
Committed: https://chromium.googlesource.com/external/trace-viewer/+/ba605a208707d32e80f630ea0d0ecef61cd6cb7e
Patch Set 1 #MessagesTotal messages: 5
|