| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.9/site-packages/tuned/monitors/__pycache__/ |
Upload File : |
a
�]�ij � @ s, d dl Zej�� ZdgZG dd� de�ZdS )� N�Monitorc @ s� e Zd ZdZedd� �Zedd� �Zedd� �Zedd � �Zed
d� �Z edd
� �Z
edd� �Zedd� �Zedd� �Z
d&dd�Zdd� Zdd� Zedd� �Zejdd� �Zdd� Zd d!� Zd"d#� Zd$d%� ZdS )'r z�
Base class for all monitors.
Monitors provide data about the running system to Plugin objects, which use the data
to tune system parameters.
Following methods require reimplementation:
- _init_available_devices(cls)
- update(cls)
c C sL d| _ t� | _t� | _t� | _i | _| �� d| _ t�dd� | j� � d S )NFTzavailable devices: %s�, )
�_class_initialized�set�
_instances�_available_devices�_updating_devices�_load�_init_available_devices�log�debug�join��cls� r �7/usr/lib/python3.9/site-packages/tuned/monitors/base.py�_init_class s zMonitor._init_classc C s
t � �d S �N��NotImplementedErrorr r r r r
! s zMonitor._init_available_devicesc C s"