trappy.pid_controller module¶
Process the output of the power allocator’s PID controller in the current directory’s trace.dat
-
class
trappy.pid_controller.
PIDController
(parse_raw=False)[source]¶ Bases:
trappy.base.Base
Process the power allocator PID controller data in a FTrace dump
-
name
= 'pid_controller'¶ The name of the
pandas.DataFrame
member that will be created in atrappy.ftrace.FTrace
object
-
pivot
= 'thermal_zone_id'¶ The Pivot along which the data is orthogonal
-
plot_controller
(title='', width=None, height=None, ax=None)[source]¶ Plot a summary of the controller data
Parameters: - ax (
matplotlib.Axis
) – Axis instance - title (str) – The title of the plot
- width (int) – The width of the plot
- height – The height of the plot
- ax (
-
unique_word
= 'thermal_power_allocator_pid'¶ The event name in the trace
-