trappy.devfreq_power module¶
Process the output of the devfreq_cooling devices in the current directory’s trace.dat
-
class
trappy.devfreq_power.
DevfreqInPower
(parse_raw=False)[source]¶ Bases:
trappy.base.Base
Process de devfreq cooling device data regarding get_power in an FTrace dump
-
get_all_freqs
()[source]¶ Return a
pandas.DataFrame
with the frequencies for the devfreq deviceThe format should be the same as the one for
CpuInPower().get_all_freqs()
.Note
Frequencies are in MHz.
-
name
= 'devfreq_in_power'¶ The name of the
pandas.DataFrame
member that will be created in atrappy.ftrace.FTrace
object
-
unique_word
= 'thermal_power_devfreq_get_power:'¶ The event name in the trace
-
-
class
trappy.devfreq_power.
DevfreqOutPower
(parse_raw=False)[source]¶ Bases:
trappy.base.Base
Process de devfreq cooling device data regarding power2state in an ftrace dump
-
get_all_freqs
()[source]¶ Return a
pandas.DataFrame
with the output frequencies for the devfreq deviceThe format should be the same as the one for
CpuOutPower().get_all_freqs()
.Note
Frequencies are in MHz.
-
name
= 'devfreq_out_power'¶ The name of the
pandas.DataFrame
member that will be created in atrappy.ftrace.FTrace
object
-
unique_word
= 'thermal_power_devfreq_limit:'¶ The event name in the trace
-