Inherited Variables
Inherited Constants
Inherited Methods
Class Details
Tags:
- see - GKRELLM_UPDATE_CPU
[ Top ]
Class Variables
Class Methods
get_cpu
gkrellm_cpu get_cpu(
int
$i_cpu)
[line 233]
Tags:
- access - public
Parameters:
- int $i_cpu - The index (0, 1, 2...) of the desired CPU
[ Top ]
get_cpus
array get_cpus(
)
[line 242]
Tags:
- return - An array of gkrellm_cpu objects (one for each CPU in the server)
- access - public
- see - gkrellm_cpu
Parameters:
[ Top ]
get_last_total_idle
mixed get_last_total_idle(
[bool
$b_percentage = false])
[line 328]
Tags:
- return - The total number of new 'idle' ticks for all CPUs (or, if $b_percentage is true, the percentage of total ticks this represents)
- access - public
Parameters:
- bool $b_percentage - If true, returns the percentage of total ticks this represents
[ Top ]
get_last_total_nice
mixed get_last_total_nice(
[bool
$b_percentage = false])
[line 308]
Tags:
- return - The total number of new 'nice' ticks for all CPUs (or, if $b_percentage is true, the percentage of total ticks this represents)
- access - public
Parameters:
- bool $b_percentage - If true, returns the percentage of total ticks this represents
[ Top ]
get_last_total_sys
mixed get_last_total_sys(
[bool
$b_percentage = false])
[line 288]
Tags:
- return - The total number of new 'sys' ticks for all CPUs (or, if $b_percentage is true, the percentage of total ticks this represents)
- access - public
Parameters:
- bool $b_percentage - If true, returns the percentage of total ticks this represents
[ Top ]
get_last_total_ticks
int get_last_total_ticks(
)
[line 258]
Tags:
- return - The total new ticks reported in the last update for all CPUS
- access - public
Parameters:
[ Top ]
get_last_total_user
mixed get_last_total_user(
[bool
$b_percentage = false])
[line 268]
Tags:
- return - The total number of new 'user' ticks for all CPUs (or, if $b_percentage is true, the percentage of total ticks this represents)
- access - public
Parameters:
- bool $b_percentage - If true, returns the percentage of total ticks this represents
[ Top ]
get_num_cpus
int get_num_cpus(
)
[line 250]
Tags:
- return - The number of CPUs in the server
- access - public
Parameters:
[ Top ]