Home
last modified time | relevance | path

Searched refs:remainder_usec (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c654 long usage_usec, n_periods, remainder_usec, expected_usage_usec; in test_cpucg_max() local
690 remainder_usec = duration_usec - n_periods * default_period_usec; in test_cpucg_max()
692 = n_periods * quota_usec + MIN(remainder_usec, quota_usec); in test_cpucg_max()
718 long usage_usec, n_periods, remainder_usec, expected_usage_usec; in test_cpucg_max_nested() local
761 remainder_usec = duration_usec - n_periods * default_period_usec; in test_cpucg_max_nested()
763 = n_periods * quota_usec + MIN(remainder_usec, quota_usec); in test_cpucg_max_nested()