int proc_cpu_cache_size(int id);
Name | Description |
---|---|
id | The processor identifier number. Use 0 on systems that have only one processor. |
The amount of level 2 memory cache available to the processor.
On success, returns the amount of level 2 memory cache available to the processor. On error, -1 is returned.
proc_cpu_vendor_id(), proc_cpu_family(), proc_cpu_mhz(), proc_cpu_bogomips() proc_cpu_model(), proc_cpu_model_name()
INDEX |