Scheduling priority

What metric does Linux use to determine process scheduling priority?