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: tools/skpbench/_hardware.py

Issue 2408893002: skpbench: add debug prints for thermal trip points (Closed)
Patch Set: skpbench: add warmup run Created 4 years, 2 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 | tools/skpbench/_hardware_android.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skpbench/_hardware.py
diff --git a/tools/skpbench/_hardware.py b/tools/skpbench/_hardware.py
index f1c8c2684358301a4bb3d64b59d2c273866a8078..525c4c1e491cce7d8bfaa2fd127b5a0968bc3638 100644
--- a/tools/skpbench/_hardware.py
+++ b/tools/skpbench/_hardware.py
@@ -21,7 +21,7 @@ class Hardware:
"""
def __init__(self):
- self.kick_in_time = 0
+ self.warmup_time = 0
def __enter__(self):
return self
@@ -33,6 +33,10 @@ class Hardware:
"""Raises a HardwareException if any hardware state is not as expected."""
pass
+ def print_debug_diagnostics(self):
+ """Prints any info that may help improve or debug hardware monitoring."""
+ pass
+
def sleep(self, sleeptime):
"""Puts the hardware into a resting state for a fixed amount of time."""
time.sleep(sleeptime)
« no previous file with comments | « no previous file | tools/skpbench/_hardware_android.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698