proc_cpu_model()

Model of the processor

Syntax:

int proc_cpu_model(int id);

Arguments:

Name Description
id The processor identifier number. Use 0 on systems that have only one processor.

Description:

Model of the processor

Return Values:

On success, returns a identifier of model of the processor. On error, -1 is returned.

See Also:

proc_cpu_vendor_id(), proc_cpu_family(), proc_cpu_mhz(), proc_cpu_bogomips() proc_cpu_model_name(), proc_cpu_cache_size()



INDEX