HPCToolkit
cpuid.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cpuid_type_s
 

Macros

#define VENDOR_INTEL   "GenuineIntel"
 
#define VENDOR_AMD   "AuthenticAMD"
 

Enumerations

enum  cpu_type_t {
  CPU_UNSUP = 0, INTEL_WSM_EX, INTEL_WSM_EP, INTEL_SNB,
  INTEL_SNB_EP, INTEL_NHM_EX, INTEL_NHM_EP, INTEL_IVB_EX,
  INTEL_HSX, INTEL_BDX, INTEL_SKX, INTEL_ICL,
  INTEL_KNL, AMD_MGN_CRS
}
 

Functions

cpu_type_t get_cpuid (void)
 

Macro Definition Documentation

◆ VENDOR_AMD

#define VENDOR_AMD   "AuthenticAMD"

Definition at line 53 of file cpuid.h.

◆ VENDOR_INTEL

#define VENDOR_INTEL   "GenuineIntel"

Definition at line 52 of file cpuid.h.

Enumeration Type Documentation

◆ cpu_type_t

enum cpu_type_t
Enumerator
CPU_UNSUP 
INTEL_WSM_EX 
INTEL_WSM_EP 
INTEL_SNB 
INTEL_SNB_EP 
INTEL_NHM_EX 
INTEL_NHM_EP 
INTEL_IVB_EX 
INTEL_HSX 
INTEL_BDX 
INTEL_SKX 
INTEL_ICL 
INTEL_KNL 
AMD_MGN_CRS 

Definition at line 62 of file cpuid.h.

Function Documentation

◆ get_cpuid()

cpu_type_t get_cpuid ( void  )

Definition at line 52 of file cpuid.c.

Here is the call graph for this function:
Here is the caller graph for this function: