Home
last modified time | relevance | path

Searched refs:NbrCpu (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/net/sk98lin/
Dskdim.c302 unsigned int NbrCpu = 0; in GetCurrentSystemLoad() local
304 for (NbrCpu = 0; NbrCpu < SKNumCpus; NbrCpu++) { in GetCurrentSystemLoad()
311 UserTime = UserTime + (kstat_percpu[NbrCpu].user.tv_sec * 10) in GetCurrentSystemLoad()
312 + (kstat_percpu[NbrCpu].user.tv_usec/100000); in GetCurrentSystemLoad()
313 NiceTime = NiceTime + (kstat_percpu[NbrCpu].nice.tv_sec * 10) in GetCurrentSystemLoad()
314 + (kstat_percpu[NbrCpu].nice.tv_usec/100000); in GetCurrentSystemLoad()
315 SystemTime = SystemTime + (kstat_percpu[NbrCpu].system.tv_sec * 10) in GetCurrentSystemLoad()
316 + (kstat_percpu[NbrCpu].system.tv_usec/100000); in GetCurrentSystemLoad()
318 UserTime = UserTime + kstat.per_cpu_user[NbrCpu]; in GetCurrentSystemLoad()
319 NiceTime = NiceTime + kstat.per_cpu_nice[NbrCpu]; in GetCurrentSystemLoad()
[all …]