API Reference Manual  1.45.0
odp_system_info_t Struct Reference

System info. More...

#include <system_info.h>

Collaboration diagram for odp_system_info_t:
[legend]

Data Fields

odp_cpu_arch_t cpu_arch
 CPU architecture. More...
 
odp_cpu_arch_isa_t cpu_isa_sw
 ISA version of ODP software. More...
 
odp_cpu_arch_isa_t cpu_isa_hw
 ISA version of CPU hardware. More...
 

Detailed Description

System info.

Examples
odp_sysinfo.c.

Definition at line 177 of file spec/system_info.h.

Field Documentation

◆ cpu_arch

odp_cpu_arch_t odp_system_info_t::cpu_arch

CPU architecture.

Defines CPU ISA family: ARM, MIPS, PPC, RISC-V, x86 or unknown

Examples
odp_sysinfo.c.

Definition at line 183 of file spec/system_info.h.

◆ cpu_isa_sw

odp_cpu_arch_isa_t odp_system_info_t::cpu_isa_sw

ISA version of ODP software.

Defines the ISA version that was used to build the ODP library. Depending on compiler target architecture setting, the value may be lower than the ISA version supported by the CPU hardware.

Examples
odp_sysinfo.c.

Definition at line 192 of file spec/system_info.h.

◆ cpu_isa_hw

odp_cpu_arch_isa_t odp_system_info_t::cpu_isa_hw

ISA version of CPU hardware.

Defines the ISA version supported by the CPU hardware. The value is set to ODP_CPU_ARCH_<arch>_UNKNOWN, when the ISA version cannot be determined.

Examples
odp_sysinfo.c.

Definition at line 200 of file spec/system_info.h.


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