Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
opsi
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: host_gpu_usage.cpython-39.opt-1.pyc
a ���fX � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostPerformanceMetricGroup� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s8 e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zed=d>� �Zejd?d>� �Zd@dA� ZdBdC� ZdDdE� ZdFS )G�HostGpuUsagez! GPU performance metrics c K s� ddddddddddddddddddddddd�| _ dddd d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new HostGpuUsage object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostGpuUsage.metric_name` attribute of this class is ``HOST_GPU_USAGE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_name: The value to assign to the metric_name property of this HostGpuUsage. Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES", "HOST_IO_USAGE", "HOST_CONTAINERS" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostGpuUsage. :type time_collected: datetime :param gpu_id: The value to assign to the gpu_id property of this HostGpuUsage. :type gpu_id: int :param utilization: The value to assign to the utilization property of this HostGpuUsage. :type utilization: float :param memory_utilization: The value to assign to the memory_utilization property of this HostGpuUsage. :type memory_utilization: float :param power_draw: The value to assign to the power_draw property of this HostGpuUsage. :type power_draw: float :param temperature: The value to assign to the temperature property of this HostGpuUsage. :type temperature: float :param fan_utilization: The value to assign to the fan_utilization property of this HostGpuUsage. :type fan_utilization: float :param clock_speed_graphics: The value to assign to the clock_speed_graphics property of this HostGpuUsage. :type clock_speed_graphics: float :param clock_speed_sm: The value to assign to the clock_speed_sm property of this HostGpuUsage. :type clock_speed_sm: float :param clock_speed_video: The value to assign to the clock_speed_video property of this HostGpuUsage. :type clock_speed_video: float :param clock_speed_memory: The value to assign to the clock_speed_memory property of this HostGpuUsage. :type clock_speed_memory: float :param performance_state: The value to assign to the performance_state property of this HostGpuUsage. :type performance_state: float :param ecc_single_bit_errors: The value to assign to the ecc_single_bit_errors property of this HostGpuUsage. :type ecc_single_bit_errors: int :param ecc_double_bit_errors: The value to assign to the ecc_double_bit_errors property of this HostGpuUsage. :type ecc_double_bit_errors: int :param clock_event_idle: The value to assign to the clock_event_idle property of this HostGpuUsage. :type clock_event_idle: int :param clock_event_hw_thermal_slow_down: The value to assign to the clock_event_hw_thermal_slow_down property of this HostGpuUsage. :type clock_event_hw_thermal_slow_down: int :param clock_event_sw_power_cap: The value to assign to the clock_event_sw_power_cap property of this HostGpuUsage. :type clock_event_sw_power_cap: int :param clock_event_app_clock_setting: The value to assign to the clock_event_app_clock_setting property of this HostGpuUsage. :type clock_event_app_clock_setting: int :param clock_event_hw_power_break: The value to assign to the clock_event_hw_power_break property of this HostGpuUsage. :type clock_event_hw_power_break: int :param clock_event_sw_thermal_slowdown: The value to assign to the clock_event_sw_thermal_slowdown property of this HostGpuUsage. :type clock_event_sw_thermal_slowdown: int :param clock_event_sync_boost: The value to assign to the clock_event_sync_boost property of this HostGpuUsage. :type clock_event_sync_boost: int �strZdatetime�int�float)Zmetric_nameZtime_collected�gpu_id�utilization�memory_utilization� power_draw�temperature�fan_utilization�clock_speed_graphics�clock_speed_sm�clock_speed_video�clock_speed_memory�performance_state�ecc_single_bit_errors�ecc_double_bit_errors�clock_event_idle� clock_event_hw_thermal_slow_down�clock_event_sw_power_cap�clock_event_app_clock_setting�clock_event_hw_power_break�clock_event_sw_thermal_slowdown�clock_event_sync_boostZ metricNameZ timeCollectedZgpuIdr ZmemoryUtilizationZ powerDrawr ZfanUtilizationZclockSpeedGraphicsZclockSpeedSmZclockSpeedVideoZclockSpeedMemoryZperformanceStateZeccSingleBitErrorsZeccDoubleBitErrorsZclockEventIdleZclockEventHwThermalSlowDownZclockEventSwPowerCapZclockEventAppClockSettingZclockEventHwPowerBreakZclockEventSwThermalSlowdownZclockEventSyncBoostNZHOST_GPU_USAGE)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_gpu_id�_utilization�_memory_utilization�_power_draw�_temperature�_fan_utilization�_clock_speed_graphics�_clock_speed_sm�_clock_speed_video�_clock_speed_memory�_performance_state�_ecc_single_bit_errors�_ecc_double_bit_errors�_clock_event_idle�!_clock_event_hw_thermal_slow_down�_clock_event_sw_power_cap�_clock_event_app_clock_setting�_clock_event_hw_power_break� _clock_event_sw_thermal_slowdown�_clock_event_sync_boost)�self�kwargs� r6 �B/usr/lib/python3.9/site-packages/oci/opsi/models/host_gpu_usage.py�__init__ s� a��zHostGpuUsage.__init__c C s | j S )z� Gets the gpu_id of this HostGpuUsage. GPU Identifier :return: The gpu_id of this HostGpuUsage. :rtype: int �r �r4 r6 r6 r7 r � s zHostGpuUsage.gpu_idc C s || _ dS )z� Sets the gpu_id of this HostGpuUsage. GPU Identifier :param gpu_id: The gpu_id of this HostGpuUsage. :type: int Nr9 )r4 r r6 r6 r7 r � s c C s | j S )z� Gets the utilization of this HostGpuUsage. GPU Utilization Percent :return: The utilization of this HostGpuUsage. :rtype: float �r! r: r6 r6 r7 r � s zHostGpuUsage.utilizationc C s || _ dS )z� Sets the utilization of this HostGpuUsage. GPU Utilization Percent :param utilization: The utilization of this HostGpuUsage. :type: float Nr; )r4 r r6 r6 r7 r � s c C s | j S )z� Gets the memory_utilization of this HostGpuUsage. GPU Memory Utilization Percent :return: The memory_utilization of this HostGpuUsage. :rtype: float �r"