| Server IP : 185.143.233.130 / Your IP : 185.215.232.195 Web Server : LiteSpeed System : Linux jambul.7ho.st 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : renecafe ( 1327) PHP Version : 8.1.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.9/site-packages/tuned/plugins/__pycache__/ |
Upload File : |
a
,�g� � @ sX d dl mZ d dlT ddlZddlZddlZddlmZ ej �
� ZG dd� dej�Z
dS )� )�base)�*� N)�ACPI_DIRc sv e Zd ZdZ� fdd�Zedd� �Zdd� Zdd � Zed
d� �Z edd
� �Z
ed�dd� �Ze
d�ddd��Z� ZS )�
ACPIPlugina'
Configures the ACPI driver.
The only currently supported option is
[option]`platform_profile`, which sets the ACPI
platform profile sysfs attribute,
a generic power/performance preference API for other drivers.
Multiple profiles can be specified, separated by `|`.
The first available profile is selected.
.Selecting a platform profile
====
----
[acpi]
platform_profile=balanced|low-power
----
Using this option, *TuneD* will try to set the platform profile
to `balanced`. If that fails, it will try to set it to `low-power`.
====
c s t t| �j|i |�� d S �N)�superr �__init__)�self�args�kwargs�� __class__� �=/usr/lib/python3.9/site-packages/tuned/plugins/plugin_acpi.pyr s zACPIPlugin.__init__c C s dd iS �N�platform_profiler ��clsr r r �_get_config_options# s zACPIPlugin._get_config_optionsc C s d|_ d|_d S )NTF)Z_has_static_tuningZ_has_dynamic_tuning�r
�instancer r r �_instance_init'