%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3.9/site-packages/tuned/plugins/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3.9/site-packages/tuned/plugins/__pycache__/plugin_rtentsk.cpython-39.pyc

a

���h�@s`ddlmZddlTddlZddlmZddlZddlZddl	Z	ej
��ZGdd�dej
�ZdS)�)�base)�*�N)�commandsc@s eZdZdZdd�Zdd�ZdS)�
RTENTSKPluginz�
	A plug-in for avoiding inter-processor interrupts caused by enabling
	or disabling static keys.
	
	The plug-in has no options; when included, **TuneD** will keep an open
	socket with timestamping enabled, thus keeping the static key enabled.
	cCsLd|_d|_d}d}t�tjtjtj�}|�tj||�||_t	�
d�dS)NTF�i@z*opened SOF_TIMESTAMPING_OPT_TX_SWHW socket)Z_has_static_tuningZ_has_dynamic_tuning�socketZAF_INETZ
SOCK_DGRAMZIPPROTO_UDPZ
setsockoptZ
SOL_SOCKET�rtentsk_socket�log�info)�self�instanceZSO_TIMESTAMPZSOF_TIMESTAMPING_OPT_TX_SWHW�s�r�@/usr/lib/python3.9/site-packages/tuned/plugins/plugin_rtentsk.py�_instance_initszRTENTSKPlugin._instance_initcCs|j}|��dS)N)r	�close)rr
rrrr�_instance_cleanup$szRTENTSKPlugin._instance_cleanupN)�__name__�
__module__�__qualname__�__doc__rrrrrrrsr)�rZ
decoratorsZ
tuned.logsZtunedZtuned.utils.commandsr�globr�timeZlogs�getr
ZPluginrrrrr�<module>s


Zerion Mini Shell 1.0