---
name: "calculate_imbalance"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/calculate_imbalance"
---

# calculate\_imbalance(9)

Calculate the amount of imbalance present within the groups of a given sched\_domain during load balance.

## NAME

calculate\_imbalance - Calculate the amount of imbalance present within the groups of a given sched\_domain during load balance.

## SYNOPSIS

**void calculate\_imbalance(struct lb\_env \*** *env***, struct sd\_lb\_stats \*** *sds***);**

## ARGUMENTS

*env*

load balance environment

*sds*

statistics of the sched\_domain whose imbalance is to be calculated.

## COPYRIGHT
