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 96 of file lininfo.h.


Field Documentation

char cpu_info::processor[FIELD_SZ]

Id of the processor.

Definition at line 98 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 99 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 100 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 101 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 102 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::stepping[FIELD_SZ]

Microprocessor's stepping.

Definition at line 103 of file lininfo.h.

Referenced by get_cpu_info(), and update_cpu().

char cpu_info::Mhz[FIELD_SZ]

Cpu clock.

Definition at line 104 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 105 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 106 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 107 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 108 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 109 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 110 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 111 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 Sat Dec 2 11:27:53 2006 for lkmonitor by  doxygen 1.5.1