.. title:: ThermalAnalysis lisa.analysis.thermal.ThermalAnalysis ===================================== .. autoclass:: lisa.analysis.thermal::ThermalAnalysis :no-members: :no-inherited-members: :no-undoc-members: :no-private-members: :no-special-members: .. rubric:: Attributes .. list-table:: :align: left * - :attr:`~lisa.analysis.thermal.ThermalAnalysis.name` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.AnalysisHelpers Name of the analysis class. .. rubric:: Properties .. list-table:: :align: left * - :attr:`~lisa.analysis.thermal.ThermalAnalysis.cpufreq_cdevs` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Get cpufreq cooling devices that appear in the trace. * - :attr:`~lisa.analysis.thermal.ThermalAnalysis.devfreq_cdevs` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Get devfreq cooling devices that appear in the trace. * - :attr:`~lisa.analysis.thermal.ThermalAnalysis.thermal_zones` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Get thermal zone ids that appear in the trace. * - :attr:`~lisa.utils.Loggable.logger` :sup:`inherited` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Convenience short-hand for ``self.get_logger()``. .. rubric:: Methods .. list-table:: :align: left * - :meth:`~lisa.analysis.thermal.ThermalAnalysis.df_cpufreq_cooling_state` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Get cpufreq cooling device states. * - :meth:`~lisa.analysis.thermal.ThermalAnalysis.df_devfreq_cooling_state` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Get devfreq cooling device states. * - :meth:`~lisa.analysis.thermal.ThermalAnalysis.df_thermal_zones_temperature` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Get the temperature of the thermal zones. * - :meth:`~lisa.analysis.thermal.ThermalAnalysis.plot_cpu_cooling_states` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Plot the state evolution of a cpufreq cooling device. * - :meth:`~lisa.analysis.thermal.ThermalAnalysis.plot_dev_freq_cooling_states` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Plot the state evolution of a devfreq cooling device. * - :meth:`~lisa.analysis.thermal.ThermalAnalysis.plot_thermal_zone_temperature` - .. withrefctx:: :module: lisa.analysis.thermal :class: lisa.analysis.thermal.ThermalAnalysis Plot temperature of thermal zones (all by default). * - :meth:`~lisa.analysis.base.TraceAnalysisBase.cache` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.TraceAnalysisBase Decorator to enable caching of the output of dataframe getter function in the trace cache. * - :meth:`~lisa.analysis.base.TraceAnalysisBase.call_on_trace` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.TraceAnalysisBase Call a method of a subclass on a given trace. * - :meth:`~lisa.analysis.base.TraceAnalysisBase.df_method` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.TraceAnalysisBase Dataframe function decorator. * - :meth:`~lisa.analysis.base.TraceAnalysisBase.get_all_events` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.TraceAnalysisBase Returns the set of all events used by any of the methods. * - :meth:`~lisa.analysis.base.TraceAnalysisBase.get_analysis_classes` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.TraceAnalysisBase * - :meth:`~lisa.analysis.base.TraceAnalysisBase.get_default_plot_path` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.TraceAnalysisBase Return the default path to use to save plots for the analysis. * - :meth:`~lisa.analysis.base.TraceAnalysisBase.get_df_methods` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.TraceAnalysisBase * - :meth:`~lisa.utils.Loggable.get_logger` :sup:`inherited` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Provides a :class:`logging.Logger` named after ``cls``. * - :meth:`~lisa.analysis.base.AnalysisHelpers.get_plot_methods` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.AnalysisHelpers * - :meth:`~lisa.utils.Loggable.log_locals` :sup:`inherited` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Debugging aid: log the local variables of the calling function. * - :meth:`~lisa.analysis.base.AnalysisHelpers.plot_method` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.AnalysisHelpers Plot function decorator. * - :meth:`~lisa.analysis.base.AnalysisHelpers.save_plot` :sup:`inherited` - .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.AnalysisHelpers Save a holoviews element or :class:`matplotlib.figure.Figure` as an image file. Attributes ---------- .. attribute:: ThermalAnalysis.name :canonical: lisa.analysis.thermal.ThermalAnalysis.name :value: 'thermal' .. withrefctx:: :module: lisa.analysis.base :class: lisa.analysis.base.AnalysisHelpers Name of the analysis class. Properties ---------- .. autoproperty:: lisa.analysis.thermal::ThermalAnalysis.cpufreq_cdevs .. autoproperty:: lisa.analysis.thermal::ThermalAnalysis.devfreq_cdevs .. autoproperty:: lisa.analysis.thermal::ThermalAnalysis.thermal_zones .. autoproperty:: lisa.analysis.thermal::ThermalAnalysis.logger Methods ------- .. automethod:: lisa.analysis.thermal::ThermalAnalysis.df_cpufreq_cooling_state .. automethod:: lisa.analysis.thermal::ThermalAnalysis.df_devfreq_cooling_state .. automethod:: lisa.analysis.thermal::ThermalAnalysis.df_thermal_zones_temperature .. automethod:: lisa.analysis.thermal::ThermalAnalysis.plot_cpu_cooling_states .. automethod:: lisa.analysis.thermal::ThermalAnalysis.plot_dev_freq_cooling_states .. automethod:: lisa.analysis.thermal::ThermalAnalysis.plot_thermal_zone_temperature .. automethod:: lisa.analysis.thermal::ThermalAnalysis.cache .. automethod:: lisa.analysis.thermal::ThermalAnalysis.call_on_trace .. automethod:: lisa.analysis.thermal::ThermalAnalysis.df_method .. automethod:: lisa.analysis.thermal::ThermalAnalysis.get_all_events .. automethod:: lisa.analysis.thermal::ThermalAnalysis.get_analysis_classes .. automethod:: lisa.analysis.thermal::ThermalAnalysis.get_default_plot_path .. automethod:: lisa.analysis.thermal::ThermalAnalysis.get_df_methods .. automethod:: lisa.analysis.thermal::ThermalAnalysis.get_logger .. automethod:: lisa.analysis.thermal::ThermalAnalysis.get_plot_methods .. automethod:: lisa.analysis.thermal::ThermalAnalysis.log_locals .. automethod:: lisa.analysis.thermal::ThermalAnalysis.plot_method .. automethod:: lisa.analysis.thermal::ThermalAnalysis.save_plot