HPCToolkit
cpuid.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <utilities/arch/cpuid.h>
Include dependency graph for cpuid.c:

Go to the source code of this file.

Functions

static void asm_cpuid (unsigned int op, unsigned int *a, unsigned int *b, unsigned int *c, unsigned int *d)
 
static cpu_type_t get_intel_cpu_type (struct cpuid_type_s *cpuid)
 
static cpu_type_t get_amd_cpu_type (struct cpuid_type_s *cpuid)
 
static cpu_type_t __get_cpuid (struct cpuid_type_s *cpuid)
 
cpu_type_t get_cpuid ()
 

Function Documentation

◆ __get_cpuid()

static cpu_type_t __get_cpuid ( struct cpuid_type_s cpuid)
static

Definition at line 141 of file cpuid.c.

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

◆ asm_cpuid()

static void asm_cpuid ( unsigned int  op,
unsigned int *  a,
unsigned int *  b,
unsigned int *  c,
unsigned int *  d 
)
inlinestatic

Definition at line 59 of file cpuid.c.

Here is the caller graph for this function:

◆ get_amd_cpu_type()

static cpu_type_t get_amd_cpu_type ( struct cpuid_type_s cpuid)
static

Definition at line 126 of file cpuid.c.

Here is the caller graph for this function:

◆ get_cpuid()

cpu_type_t get_cpuid ( void  )

Definition at line 183 of file cpuid.c.

Here is the call graph for this function:

◆ get_intel_cpu_type()

static cpu_type_t get_intel_cpu_type ( struct cpuid_type_s cpuid)
static

Definition at line 76 of file cpuid.c.

Here is the caller graph for this function: