diff options
author | Javi Merino <javi.merino@arm.com> | 2015-12-11 18:00:30 +0000 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2015-12-22 15:49:30 +0000 |
commit | c26a323210533d4ed3a8b4e62c33744236e3beda (patch) | |
tree | 4b0a3c4b1ae071737f683941b4b2aa289861a51f /trappy/pid_controller.py | |
parent | 08ea8c25cd7ed23b17e09363d08054eb5bc27688 (diff) | |
download | trappy-c26a323210533d4ed3a8b4e62c33744236e3beda.tar.gz |
ftrace: rename Run to FTrace
Run is a very generic and inappropriate name for an object that parses
the result of ftrace into a form consumable by python. Rename it to
FTrace in preparation for its generalization.
Diffstat (limited to 'trappy/pid_controller.py')
-rw-r--r-- | trappy/pid_controller.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trappy/pid_controller.py b/trappy/pid_controller.py index 846ed54..4bde73c 100644 --- a/trappy/pid_controller.py +++ b/trappy/pid_controller.py @@ -17,14 +17,14 @@ current directory's trace.dat""" from trappy.base import Base -from trappy.run import Run +from trappy.ftrace import FTrace class PIDController(Base): """Process the power allocator PID controller data in a FTrace dump""" name = "pid_controller" """The name of the :mod:`pandas.DataFrame` member that will be created in a - :mod:`trappy.run.Run` object""" + :mod:`trappy.ftrace.FTrace` object""" pivot = "thermal_zone_id" """The Pivot along which the data is orthogonal""" @@ -57,4 +57,4 @@ class PIDController(Base): self.data_frame[["output", "p", "i", "d"]].plot(ax=ax) trappy.plot_utils.post_plot_setup(ax, title=title) -Run.register_class(PIDController, "thermal") +FTrace.register_class(PIDController, "thermal") |