Main Page | Data Structures | File List | Data Fields | Globals

cpu_info Struct Reference

Contains cpu characteristics. This struct contains several fields that represent different cpu characteristics as clock MHz or cache size. More...

#include <lininfo.h>


Data Fields

char processor [FIELD_SZ]
 Id of the processor.
char vendor_id [2 *FIELD_SZ]
 Vendor Id.
char cpu_family [2 *FIELD_SZ]
 Cpu family (currently an integer number).
char model [FIELD_SZ]
char model_name [5 *FIELD_SZ]
 Integer id. for the model.
char stepping [FIELD_SZ]
 Microprocessor's stepping.
char Mhz [FIELD_SZ]
 Cpu clock.
char cache [FIELD_SZ]
 Second level cache size.
char fpu [FIELD_SZ/2]
 Float Point Unit.
char fpu_exception [FIELD_SZ/2]
 Cpu uses specific fpu exception.
char cpuid_level [FIELD_SZ/2]
 For SMP.
char wp [FIELD_SZ/2]
char flags [50 *FIELD_SZ]
 Specific characteristics for this model.
char bogomips [FIELD_SZ]
 Speed unit used in Linux.


Detailed Description

Contains cpu characteristics. This struct contains several fields that represent different cpu characteristics as clock MHz or cache size.

Definition at line 38 of file lininfo.h.


Field Documentation

char cpu_info::bogomips[FIELD_SZ]
 

Speed unit used in Linux.

Definition at line 53 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::cache[FIELD_SZ]
 

Second level cache size.

Definition at line 47 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::cpu_family[2 *FIELD_SZ]
 

Cpu family (currently an integer number).

Definition at line 42 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::cpuid_level[FIELD_SZ/2]
 

For SMP.

Definition at line 50 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::flags[50 *FIELD_SZ]
 

Specific characteristics for this model.

Definition at line 52 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::fpu[FIELD_SZ/2]
 

Float Point Unit.

Definition at line 48 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::fpu_exception[FIELD_SZ/2]
 

Cpu uses specific fpu exception.

Definition at line 49 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::Mhz[FIELD_SZ]
 

Cpu clock.

Definition at line 46 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::model[FIELD_SZ]
 

Definition at line 43 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::model_name[5 *FIELD_SZ]
 

Integer id. for the model.

Definition at line 44 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::processor[FIELD_SZ]
 

Id of the processor.

Definition at line 40 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::stepping[FIELD_SZ]
 

Microprocessor's stepping.

Definition at line 45 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::vendor_id[2 *FIELD_SZ]
 

Vendor Id.

Definition at line 41 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::wp[FIELD_SZ/2]
 

Definition at line 51 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().


The documentation for this struct was generated from the following file:
Generated on Wed Feb 15 11:24:02 2006 for lkmonitor by  doxygen 1.3.9.1