update_sg_lb_stats — Update sched_group's statistics for load balancing.
void update_sg_lb_stats ( | struct sched_domain * sd, |
| struct sched_group * group, | |
| int this_cpu, | |
| enum cpu_idle_type idle, | |
| int load_idx, | |
| int local_group, | |
| const struct cpumask * cpus, | |
| int * balance, | |
struct sg_lb_stats * sgs); |
sdThe sched_domain whose statistics are to be updated.
groupsched_group whose statistics are to be updated.
this_cpuCpu for which load balance is currently performed.
idleIdle status of this_cpu
load_idxLoad index of sched_domain of this_cpu for load calc.
local_groupDoes group contain this_cpu.
cpusSet of cpus considered for load balancing.
balanceShould we balance.
sgsvariable to hold the statistics for this group.