AlkantarClanX12

Your IP : 18.223.158.132


Current Path : /usr/lib/python3.6/site-packages/tuned/plugins/instance/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/tuned/plugins/instance/__pycache__/instance.cpython-36.pyc

3

�<�e��@sddljZGdd�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�/usr/lib/python3.6/instance.py�__init__szInstance.__init__cCs|jS)N)r)rrrrrszInstance.plugincCs|jS)N)r)rrrrrsz
Instance.namecCs|jS)z>The instance performs some tuning (otherwise it is suspended).)r
)rrrr�active szInstance.activecCs
||_dS)N)r
)r�valuerrrr%scCs|jS)N)r)rrrrr)szInstance.devices_expressioncCs|jS)N)r)rrrr�assigned_devices-szInstance.assigned_devicescCs|jS)N)r)rrrr�processed_devices1szInstance.processed_devicescCs|jS)N)r)rrrrr5szInstance.devices_udev_regexcCs|jS)N)r)rrrrr9szInstance.script_precCs|jS)N)r)rrrrr=szInstance.script_postcCs|jS)N)r	)rrrrrAszInstance.optionscCs|jS)N)r)rrrr�has_static_tuningEszInstance.has_static_tuningcCs|jS)N)r)rrrr�has_dynamic_tuningIszInstance.has_dynamic_tuningcCs|jj|�dS)N)rZinstance_apply_tuning)rrrr�apply_tuningOszInstance.apply_tuningcCs|jj||�S)N)rZinstance_verify_tuning)rZignore_missingrrr�
verify_tuningRszInstance.verify_tuningcCs|jj|�dS)N)rZinstance_update_tuning)rrrr�
update_tuningUszInstance.update_tuningcCs|jj||�dS)N)rZinstance_unapply_tuning)rZrollbackrrr�unapply_tuningXszInstance.unapply_tuningcCs|j�|jj|�dS)N)r$rZdestroy_instance)rrrr�destroy[szInstance.destroyN)�__name__�
__module__�__qualname__�__doc__r�propertyrrr�setterrrrrrrrrr r!r"r#�constsZ
ROLLBACK_SOFTr$r%rrrrrs(r)Ztuned.constsr,�objectrrrrr�<module>s