aboutsummaryrefslogtreecommitdiff
path: root/cr2/pid_controller.py
diff options
context:
space:
mode:
authorDietmar Eggemann <dietmar.eggemann@arm.com>2014-12-11 20:28:45 +0000
committerJavi Merino <javi.merino@arm.com>2015-08-12 16:03:44 +0100
commitb42a50b19e4b99d1ccf1ee5d2478f958a07d5c20 (patch)
tree0c0961b6ac6378da1ff8ef78f79fea439ec32794 /cr2/pid_controller.py
parent0ecdf2613fc993ca96385f15c709f5b6454a4cd6 (diff)
downloadtrappy-b42a50b19e4b99d1ccf1ee5d2478f958a07d5c20.tar.gz
cr2/thermal, base: factor out class Base
To be able to use cr2 for other class objects then thermal related one, put class Base into an extra file to split it from any thermal specific functionality. The test cases have been rearranged accordingly. Change-Id: I48a8e1d6be27bc595795a2602480da931b9cbf71 Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Diffstat (limited to 'cr2/pid_controller.py')
-rw-r--r--cr2/pid_controller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cr2/pid_controller.py b/cr2/pid_controller.py
index b23c9b1..2fb2aef 100644
--- a/cr2/pid_controller.py
+++ b/cr2/pid_controller.py
@@ -2,10 +2,10 @@
"""Process the output of the power allocator's PID controller in the
current directory's trace.dat"""
-from thermal import BaseThermal
+from base import Base
from plot_utils import normalize_title, pre_plot_setup, post_plot_setup
-class PIDController(BaseThermal):
+class PIDController(Base):
"""Process the power allocator PID controller data in a ftrace dump"""
def __init__(self, path=None):
super(PIDController, self).__init__(