Hacked By AnonymousFox

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

3

�<�en�@s.ddlZddljZddlZGdd�de�ZdS)�Nc@sleZdZdZdddgZdd�Zdd�Zd	d
�Zdd�Ze	d
d��Z
e
jdd��Z
e	dd��Ze	dd��Z
dS)�Profilez'
	Representation of a tuning profile.
	�_name�_options�_unitscCs||_|j|�|j|�dS)N)r�
_init_options�_init_units)�self�name�config�r�/usr/lib/python3.6/profile.py�__init__s
zProfile.__init__cCs$i|_tj|kr t|tj�|_dS)N)r�consts�PLUGIN_MAIN_UNIT_NAME�dict)rr
rrrrs
zProfile._init_optionscCs@tj�|_x0|D](}|tjkr|j|||�}||j|<qWdS)N)�collections�OrderedDictrrr�_create_unit)rr
Z	unit_nameZnew_unitrrrrs



zProfile._init_unitscCstjjj||�S)N)�tunedZprofilesZunitZUnit)rr	r
rrrrszProfile._create_unitcCs|jS)z
		Profile name.
		)r)rrrrr	 szProfile.namecCs
||_dS)N)r)r�valuerrrr	'scCs|jS)z$
		Units included in the profile.
		)r)rrrr�units+sz
Profile.unitscCs|jS)z
		Profile global options.
		)r)rrrr�options2szProfile.optionsN)�__name__�
__module__�__qualname__�__doc__�	__slots__r
rrr�propertyr	�setterrrrrrrrs
r)Ztuned.profiles.unitrZtuned.constsrr�objectrrrrr�<module>s


Hacked By AnonymousFox1.0, Coded By AnonymousFox