Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: tools/telemetry/telemetry/core/platform/android_platform_backend.py

Issue 284743005: [Telemetry] Reduce page cycler cycle time by about another 10% on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/platform/android_platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend.py b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
index d0ec854e32dc51968b566a2c9614021f33373f3a..e65865f55a8b8f7770ee4ae90b8b4d3cffa90731 100644
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
@@ -109,21 +109,6 @@ class AndroidPlatformBackend(
def HasBeenThermallyThrottled(self):
return self._thermal_throttle.HasBeenThrottled()
- def GetSystemCommitCharge(self):
- for line in self._device.old_interface.RunShellCommand(
- 'dumpsys meminfo', log_result=False):
- if line.startswith('Total PSS: '):
- return int(line.split()[2]) * 1024
- return 0
-
- @decorators.Cache
- def GetSystemTotalPhysicalMemory(self):
- for line in self._device.old_interface.RunShellCommand(
- 'dumpsys meminfo', log_result=False):
- if line.startswith('Total RAM: '):
- return int(line.split()[2]) * 1024
- return 0
-
def GetCpuStats(self, pid):
if not self._can_access_protected_file_contents:
logging.warning('CPU stats cannot be retrieved on non-rooted device.')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698