관리-도구
편집 파일: instance.cpython-39.pyc
a ,�g � @ s d dl mZ G dd� de�ZdS )� Nc @ s� e Zd ZdZdd� Zedd� �Zedd� �Zedd � �Zej d d � �Zedd� �Z ed d� �Zedd� �Zedd� �Z edd� �Zedd� �Zedd� �Zedd� �Zedd� �Zedd� �Zdd � Zd!d"� Zd#d$� Zejfd%d&�Zd'd(� Zd)S )*�Instancez c C sV || _ || _|| _|| _|| _|| _|| _d| _|| _d| _ d| _ t� | _t� | _ d S )NTF)�_plugin�_name�_devices_expression�_devices_udev_regex�_script_pre�_script_post�_options�_active� _priority�_has_static_tuning�_has_dynamic_tuning�set�_assigned_devices�_processed_devices) �self�plugin�name�priority�devices_expression�devices_udev_regex� script_pre�script_post�options� r �C/usr/lib/python3.9/site-packages/tuned/plugins/instance/instance.py�__init__ s zInstance.__init__c C s | j S �N)r �r r r r r s zInstance.pluginc C s | j S r )r r r r r r s z Instance.namec C s | j S )z>The instance performs some tuning (otherwise it is suspended).�r r r r r �active! s zInstance.activec C s || _ d S r r )r �valuer r r r &