proc_cpu_cache_size()

The amount of memory cache

Syntax:

int proc_cpu_cache_size(int id);

Arguments:

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

Description:

The amount of level 2 memory cache available to the processor.

Return Values:

On success, returns the amount of level 2 memory cache available to 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(), proc_cpu_model_name()



INDEX