HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
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