Home
last modified time | relevance | path

Searched refs:memory_usage (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dmemory_timeline_unittest.py16 def MockProcessDumpEvent(dump_id, name, start, memory_usage, pid=1234): argument
23 if memory_usage is None:
24 memory_usage = {}
25 elif not isinstance(memory_usage, dict):
26 memory_usage = dict.fromkeys(memory_timeline.DEFAULT_METRICS, memory_usage)
27 process_dump.has_mmaps = any(metric in memory_usage for metric
29 process_dump.GetMemoryUsage = mock.Mock(return_value=memory_usage)
/external/chromium-trace/catapult/perf_insights/third_party/cloudstorage/
Dcommon.py404 def memory_usage(method): function
408 method.__name__, runtime.memory_usage().current())
411 method.__name__, runtime.memory_usage().current())
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py264 memory_usage = self._device.GetMemoryUsageForPid(pid)
265 if not memory_usage:
267 return {'ProportionalSetSize': memory_usage['Pss'] * 1024,
268 'SharedDirty': memory_usage['Shared_Dirty'] * 1024,
269 'PrivateDirty': memory_usage['Private_Dirty'] * 1024,
270 'VMPeak': memory_usage['VmHWM'] * 1024}