HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.9/site-packages/tuned/plugins/instance/__pycache__/instance.cpython-39.opt-1.pyc
a

Y��d��@s ddlmZGdd�de�ZdS)�Nc@s�eZdZdZdd�Zedd��Zedd��Zedd	��Zej	d
d	��Zedd��Z
ed
d��Zedd��Zedd��Z
edd��Zedd��Zedd��Zedd��Zedd��Zdd�Zdd �Zd!d"�Zejfd#d$�Zd%d&�Zd'S)(�Instancez
	cCsP||_||_||_||_||_||_||_d|_d|_d|_	t
�|_t
�|_dS)NTF)
�_plugin�_name�_devices_expression�_devices_udev_regex�_script_pre�_script_post�_options�_active�_has_static_tuning�_has_dynamic_tuning�set�_assigned_devices�_processed_devices)�self�plugin�name�devices_expression�devices_udev_regex�
script_pre�script_post�options�r�C/usr/lib/python3.9/site-packages/tuned/plugins/instance/instance.py�__init__szInstance.__init__cCs|jS�N)r�rrrrrszInstance.plugincCs|jSr)rrrrrrsz
Instance.namecCs|jS)z>The instance performs some tuning (otherwise it is suspended).�r
rrrr�active szInstance.activecCs
||_dSrr)r�valuerrrr%scCs|jSr)rrrrrr)szInstance.devices_expressioncCs|jSr)rrrrr�assigned_devices-szInstance.assigned_devicescCs|jSr)rrrrr�processed_devices1szInstance.processed_devicescCs|jSr)rrrrrr5szInstance.devices_udev_regexcCs|jSr)rrrrrr9szInstance.script_precCs|jSr)rrrrrr=szInstance.script_postcCs|jSr)r	rrrrrAszInstance.optionscCs|jSr)rrrrr�has_static_tuningEszInstance.has_static_tuningcCs|jSr)rrrrr�has_dynamic_tuningIszInstance.has_dynamic_tuningcCs|j�|�dSr)rZinstance_apply_tuningrrrr�apply_tuningOszInstance.apply_tuningcCs|j�||�Sr)rZinstance_verify_tuning)rZignore_missingrrr�
verify_tuningRszInstance.verify_tuningcCs|j�|�dSr)rZinstance_update_tuningrrrr�
update_tuningUszInstance.update_tuningcCs|j�||�dSr)rZinstance_unapply_tuning)rZrollbackrrr�unapply_tuningXszInstance.unapply_tuningcCs|��|j�|�dSr)r'rZdestroy_instancerrrr�destroy[szInstance.destroyN)�__name__�
__module__�__qualname__�__doc__r�propertyrrr�setterrr r!rrrrr"r#r$r%r&�constsZ
ROLLBACK_SOFTr'r(rrrrrsB












r)Ztuned.constsr/�objectrrrrr�<module>s