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

Unified Diff: telemetry/telemetry/internal/platform/cros_platform_backend.py

Issue 1850923002: Support for GetArchName on chromeos (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 9 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 | « telemetry/telemetry/core/cros_interface.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/cros_platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/cros_platform_backend.py b/telemetry/telemetry/internal/platform/cros_platform_backend.py
index d20bcbcc1957638335bcf579957c64e0af96c9ca..08f03c2d2066ed5b8a0055b4003e6ece640859c3 100644
--- a/telemetry/telemetry/internal/platform/cros_platform_backend.py
+++ b/telemetry/telemetry/internal/platform/cros_platform_backend.py
@@ -4,6 +4,7 @@
import logging
+from telemetry import decorators
from telemetry.core import cros_interface
from telemetry.core import platform
from telemetry.core import util
@@ -119,6 +120,10 @@ class CrosPlatformBackend(
sample_stats[cpu] = cstates
return sample_stats
+ @decorators.Cache
+ def GetArchName(self):
+ return self._cri.GetArchName()
+
def GetOSName(self):
return 'chromeos'
« no previous file with comments | « telemetry/telemetry/core/cros_interface.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698