The patch introduces a new performance counter that counts how many times we go
through the load balancing logic in Credit2.
Signed-off-by: Praveen Kumar <kpraveen.lkml@gmail.com>
Acked-by: Dario Faggioli <dario.faggioli@citrix.com>
(unsigned char *)&d);
}
+ SCHED_STAT_CRANK(acct_load_balance);
+
/* Look for "swap" which gives the best load average
* FIXME: O(n^2)! */
/* credit2 specific counters */
PERFCOUNTER(burn_credits_t2c, "csched2: burn_credits_t2c")
+PERFCOUNTER(acct_load_balance, "csched2: acct_load_balance")
PERFCOUNTER(upd_max_weight_quick, "csched2: update_max_weight_quick")
PERFCOUNTER(upd_max_weight_full, "csched2: update_max_weight_full")
PERFCOUNTER(migrate_requested, "csched2: migrate_requested")