Searched refs:total_weight (Results 1 – 2 of 2) sorted by relevance
22 * - total_weight = sum of all weights23 * - rweight1 = random number between [0,total_weight]24 * - rweight2 = random number between [0,total_weight]49 int overhead2, total_weight = 0, weight; in ip_vs_twos_schedule() 58 total_weight += weight; in ip_vs_twos_schedule() 69 /* Add 1 to total_weight so that the random weights are inclusive in ip_vs_twos_schedule() 70 * from 0 to total_weight in ip_vs_twos_schedule() 72 total_weight += 1; in ip_vs_twos_schedule() 73 rweight1 = get_random_u32_below(total_weight); in ip_vs_twos_schedule() 74 rweight2 = get_random_u32_below(total_weight); in ip_vs_twos_schedule() 50 int overhead2, total_weight = 0, weight; ip_vs_twos_schedule() local [all...]
94 int total_weight; member439 if (!params->total_weight) in allocate_power()654 params->total_weight = 0; in power_allocator_update_weight()657 params->total_weight += instance->weight; in power_allocator_update_weight()