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]
 Integer id. for the model.
char model_name [5 *FIELD_SZ]
 Vendor's name 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]
 Wether the wp bit is present.
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 148 of file lininfo.h.


Field Documentation

char cpu_info::processor[FIELD_SZ]

Id of the processor.

Definition at line 150 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 151 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 152 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::model[FIELD_SZ]

Integer id. for the model.

Definition at line 153 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::model_name[5 *FIELD_SZ]

Vendor's name for the model.

Definition at line 154 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::stepping[FIELD_SZ]

Microprocessor's stepping.

Definition at line 155 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::Mhz[FIELD_SZ]

Cpu clock.

Definition at line 156 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 157 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 158 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 159 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 160 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::wp[FIELD_SZ/2]

Wether the wp bit is present.

Definition at line 161 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 162 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::bogomips[FIELD_SZ]

Speed unit used in Linux.

Definition at line 163 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 Tue Apr 1 22:52:58 2008 for lkmonitor by  doxygen 1.5.1