LIKWID
Public Attributes | List of all members
CpuInfo Struct Reference

Structure with general CPU information. More...

#include <likwid.h>

Public Attributes

uint64_t clock
 Current clock frequency of the executing CPU.
 
uint32_t family
 CPU family ID.
 
uint32_t featureFlags
 Mask of all features supported by the CPU.
 
char * features
 String with all features supported by the CPU.
 
int isIntel
 Flag if it is an Intel CPU.
 
uint32_t model
 CPU model ID.
 
char * name
 Name of the CPU as identified by LIKWID.
 
char * osname
 Name of the CPU reported by OS.
 
uint32_t perf_num_ctr
 Number of general purpose core-local performance monitoring counters.
 
uint32_t perf_num_fixed_ctr
 Number of fixed purpose core-local performance monitoring counters.
 
uint32_t perf_version
 Version of Intel's performance monitoring facility.
 
uint32_t perf_width_ctr
 Bit width of fixed and general purpose counters.
 
char * short_name
 Short name of the CPU.
 
uint32_t stepping
 Stepping (version) of the CPU.
 
int supportUncore
 Flag if system has Uncore performance monitors.
 
int turbo
 Flag if CPU has a turbo mode.
 

Detailed Description

Structure with general CPU information.

General information covers CPU family, model, name and current clock and vendor specific information like the version of Intel's performance monitoring facility.


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