Struct nvapi_hi::PhysicalGpu
[−]
[src]
pub struct PhysicalGpu(_);
Methods
impl PhysicalGpu
[src]
pub fn handle(&self) -> &NvPhysicalGpuHandle
[src]
pub fn enumerate() -> Result<Vec<PhysicalGpu>, Status>
[src]
pub fn tachometer(&self) -> Result<u32, Status>
[src]
pub fn short_name(&self) -> Result<String, Status>
[src]
pub fn full_name(&self) -> Result<String, Status>
[src]
pub fn vbios_version_string(&self) -> Result<String, Status>
[src]
pub fn driver_model(&self) -> Result<DriverModel, Status>
[src]
pub fn gpu_id(&self) -> Result<u32, Status>
[src]
pub fn pci_identifiers(&self) -> Result<PciIdentifiers, Status>
[src]
pub fn system_type(&self) -> Result<SystemType, Status>
[src]
pub fn core_count(&self) -> Result<u32, Status>
[src]
pub fn shader_pipe_count(&self) -> Result<u32, Status>
[src]
pub fn shader_sub_pipe_count(&self) -> Result<u32, Status>
[src]
pub fn ram_type(&self) -> Result<RamType, Status>
[src]
pub fn ram_maker(&self) -> Result<RamMaker, Status>
[src]
pub fn ram_bus_width(&self) -> Result<u32, Status>
[src]
pub fn ram_bank_count(&self) -> Result<u32, Status>
[src]
pub fn ram_partition_count(&self) -> Result<u32, Status>
[src]
pub fn foundry(&self) -> Result<Foundry, Status>
[src]
pub fn memory_info(&self) -> Result<MemoryInfo, Status>
[src]
pub fn clock_frequencies(
&self,
clock_type: ClockFrequencyType
) -> Result<<NV_GPU_CLOCK_FREQUENCIES_V1 as RawConversion>::Target, Status>
[src]
&self,
clock_type: ClockFrequencyType
) -> Result<<NV_GPU_CLOCK_FREQUENCIES_V1 as RawConversion>::Target, Status>
pub fn current_pstate(&self) -> Result<PstateId, Status>
[src]
pub fn pstates(
&self
) -> Result<<NV_GPU_PERF_PSTATES20_INFO_V2 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_PERF_PSTATES20_INFO_V2 as RawConversion>::Target, Status>
pub fn set_pstates<I>(&self, deltas: I) -> Result<(), Status> where
I: Iterator<Item = (PstateId, PublicClockId, KilohertzDelta)>,
[src]
I: Iterator<Item = (PstateId, PublicClockId, KilohertzDelta)>,
pub fn dynamic_pstates_info(
&self
) -> Result<<NV_GPU_DYNAMIC_PSTATES_INFO_EX as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_DYNAMIC_PSTATES_INFO_EX as RawConversion>::Target, Status>
pub fn usages(
&self
) -> Result<<NV_USAGES_INFO_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_USAGES_INFO_V1 as RawConversion>::Target, Status>
Private and deprecated, use dynamic_pstates_info()
instead.
pub fn vfp_mask(
&self
) -> Result<<NV_CLOCK_MASKS_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_CLOCK_MASKS_V1 as RawConversion>::Target, Status>
pub fn vfp_table(
&self,
mask: [u32; 4]
) -> Result<<NV_CLOCK_TABLE_V1 as RawConversion>::Target, Status>
[src]
&self,
mask: [u32; 4]
) -> Result<<NV_CLOCK_TABLE_V1 as RawConversion>::Target, Status>
pub fn set_vfp_table<I, M>(
&self,
mask: [u32; 4],
clocks: I,
memory: M
) -> Result<(), Status> where
I: Iterator<Item = (usize, Kilohertz2Delta)>,
M: Iterator<Item = (usize, Kilohertz2Delta)>,
[src]
&self,
mask: [u32; 4],
clocks: I,
memory: M
) -> Result<(), Status> where
I: Iterator<Item = (usize, Kilohertz2Delta)>,
M: Iterator<Item = (usize, Kilohertz2Delta)>,
pub fn vfp_ranges(
&self
) -> Result<<NV_CLOCK_RANGES_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_CLOCK_RANGES_V1 as RawConversion>::Target, Status>
pub fn vfp_locks(
&self
) -> Result<<NV_CLOCK_LOCK_V2 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_CLOCK_LOCK_V2 as RawConversion>::Target, Status>
pub fn set_vfp_locks<I>(&self, values: I) -> Result<(), Status> where
I: Iterator<Item = (usize, Option<Microvolts>)>,
[src]
I: Iterator<Item = (usize, Option<Microvolts>)>,
pub fn vfp_curve(
&self,
mask: [u32; 4]
) -> Result<<NV_VFP_CURVE_V1 as RawConversion>::Target, Status>
[src]
&self,
mask: [u32; 4]
) -> Result<<NV_VFP_CURVE_V1 as RawConversion>::Target, Status>
pub fn core_voltage(
&self
) -> Result<<NV_VOLTAGE_STATUS_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_VOLTAGE_STATUS_V1 as RawConversion>::Target, Status>
pub fn core_voltage_boost(
&self
) -> Result<<NV_VOLTAGE_BOOST_PERCENT_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_VOLTAGE_BOOST_PERCENT_V1 as RawConversion>::Target, Status>
pub fn set_core_voltage_boost(&self, value: Percentage) -> Result<(), Status>
[src]
pub fn power_usage(
&self
) -> Result<<NV_GPU_POWER_TOPO_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_POWER_TOPO_V1 as RawConversion>::Target, Status>
pub fn power_limit_info(
&self
) -> Result<<NV_GPU_POWER_INFO_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_POWER_INFO_V1 as RawConversion>::Target, Status>
pub fn power_limit(
&self
) -> Result<<NV_GPU_POWER_STATUS_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_POWER_STATUS_V1 as RawConversion>::Target, Status>
pub fn set_power_limit<I>(&self, values: I) -> Result<(), Status> where
I: Iterator<Item = Percentage1000>,
[src]
I: Iterator<Item = Percentage1000>,
pub fn thermal_settings(
&self,
index: Option<u32>
) -> Result<<NV_GPU_THERMAL_SETTINGS_V1 as RawConversion>::Target, Status>
[src]
&self,
index: Option<u32>
) -> Result<<NV_GPU_THERMAL_SETTINGS_V1 as RawConversion>::Target, Status>
pub fn thermal_limit_info(
&self
) -> Result<<NV_GPU_THERMAL_INFO_V2 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_THERMAL_INFO_V2 as RawConversion>::Target, Status>
pub fn thermal_limit(
&self
) -> Result<<NV_GPU_THERMAL_LIMIT_V2 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_THERMAL_LIMIT_V2 as RawConversion>::Target, Status>
pub fn set_thermal_limit<I>(&self, value: I) -> Result<(), Status> where
I: Iterator<Item = ThermalLimit>,
[src]
I: Iterator<Item = ThermalLimit>,
pub fn cooler_settings(
&self,
index: Option<u32>
) -> Result<<NV_GPU_COOLER_SETTINGS_V1 as RawConversion>::Target, Status>
[src]
&self,
index: Option<u32>
) -> Result<<NV_GPU_COOLER_SETTINGS_V1 as RawConversion>::Target, Status>
pub fn set_cooler_levels<I>(
&self,
index: Option<u32>,
values: I
) -> Result<(), Status> where
I: Iterator<Item = CoolerLevel>,
[src]
&self,
index: Option<u32>,
values: I
) -> Result<(), Status> where
I: Iterator<Item = CoolerLevel>,
pub fn restore_cooler_settings(&self, index: &[u32]) -> Result<(), Status>
[src]
pub fn cooler_policy_table(
&self,
index: u32,
policy: CoolerPolicy
) -> Result<<NV_GPU_COOLER_POLICY_TABLE_V1 as RawConversion>::Target, Status>
[src]
&self,
index: u32,
policy: CoolerPolicy
) -> Result<<NV_GPU_COOLER_POLICY_TABLE_V1 as RawConversion>::Target, Status>
pub fn set_cooler_policy_table(
&self,
index: u32,
value: &<NV_GPU_COOLER_POLICY_TABLE_V1 as RawConversion>::Target
) -> Result<(), Status>
[src]
&self,
index: u32,
value: &<NV_GPU_COOLER_POLICY_TABLE_V1 as RawConversion>::Target
) -> Result<(), Status>
pub fn restore_cooler_policy_table(
&self,
index: &[u32],
policy: CoolerPolicy
) -> Result<(), Status>
[src]
&self,
index: &[u32],
policy: CoolerPolicy
) -> Result<(), Status>
pub fn perf_info(
&self
) -> Result<<NV_GPU_PERF_INFO_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_PERF_INFO_V1 as RawConversion>::Target, Status>
pub fn perf_status(
&self
) -> Result<<NV_GPU_PERF_STATUS_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_GPU_PERF_STATUS_V1 as RawConversion>::Target, Status>
pub fn voltage_domains_status(
&self
) -> Result<<NV_VOLT_STATUS_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_VOLT_STATUS_V1 as RawConversion>::Target, Status>
pub fn voltage_step(
&self
) -> Result<<NV_VOLT_STATUS_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_VOLT_STATUS_V1 as RawConversion>::Target, Status>
pub fn voltage_table(
&self
) -> Result<<NV_VOLT_TABLE_V1 as RawConversion>::Target, Status>
[src]
&self
) -> Result<<NV_VOLT_TABLE_V1 as RawConversion>::Target, Status>
pub fn performance_decrease(&self) -> Result<PerformanceDecreaseReason, Status>
[src]
pub fn display_ids_all(
&self
) -> Result<Vec<<NV_GPU_DISPLAYIDS as RawConversion>::Target>, Status>
[src]
&self
) -> Result<Vec<<NV_GPU_DISPLAYIDS as RawConversion>::Target>, Status>
pub fn display_ids_connected(
&self,
flags: ConnectedIdsFlags
) -> Result<Vec<<NV_GPU_DISPLAYIDS as RawConversion>::Target>, Status>
[src]
&self,
flags: ConnectedIdsFlags
) -> Result<Vec<<NV_GPU_DISPLAYIDS as RawConversion>::Target>, Status>
pub fn i2c_read(
&self,
display_mask: u32,
port: Option<u8>,
port_is_ddc: bool,
address: u8,
register: &[u8],
bytes: &mut [u8],
speed: I2cSpeed
) -> Result<usize, Status>
[src]
&self,
display_mask: u32,
port: Option<u8>,
port_is_ddc: bool,
address: u8,
register: &[u8],
bytes: &mut [u8],
speed: I2cSpeed
) -> Result<usize, Status>
pub fn i2c_write(
&self,
display_mask: u32,
port: Option<u8>,
port_is_ddc: bool,
address: u8,
register: &[u8],
bytes: &[u8],
speed: I2cSpeed
) -> Result<(), Status>
[src]
&self,
display_mask: u32,
port: Option<u8>,
port_is_ddc: bool,
address: u8,
register: &[u8],
bytes: &[u8],
speed: I2cSpeed
) -> Result<(), Status>
Trait Implementations
impl Debug for PhysicalGpu
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more