amdsmi_func_id_value_t Union Reference

amdsmi_func_id_value_t Union Reference#

AMD SMI: amdsmi_func_id_value_t Union Reference
amdsmi_func_id_value_t Union Reference

This union holds the value of an amdsmi_func_id_iter_handle_t. The value may be a function name, or an ennumerated variant value of types such as amdsmi_memory_type_t, amdsmi_temperature_metric_t, etc. More...

#include <amdsmi.h>

Data Fields

uint64_t id
 uint64_t representation of value
 
const char * name
 name string (applicable to functions only)
 
union {
   amdsmi_memory_type_t   memory_type
 < Used for amdsmi_memory_type_t variants More...
 
   amdsmi_temperature_metric_t   temp_metric
 Used for amdsmi_event_type_t variants.
 
   amdsmi_event_type_t   evnt_type
 Used for amdsmi_event_group_t variants.
 
   amdsmi_event_group_t   evnt_group
 Used for amdsmi_clk_type_t variants.
 
   amdsmi_clk_type_t   clk_type
 Used for amdsmi_fw_block_t variants.
 
   amdsmi_fw_block_t   fw_block
 Used for amdsmi_gpu_block_t variants.
 
   amdsmi_gpu_block_t   gpu_block_type
 
}; 
 

Detailed Description

This union holds the value of an amdsmi_func_id_iter_handle_t. The value may be a function name, or an ennumerated variant value of types such as amdsmi_memory_type_t, amdsmi_temperature_metric_t, etc.

Field Documentation

◆ memory_type

amdsmi_memory_type_t amdsmi_func_id_value_t::memory_type

< Used for amdsmi_memory_type_t variants

Used for amdsmi_temperature_metric_t variants


The documentation for this union was generated from the following file: