1# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5AUTHOR = "The Chromium OS Authors" 6DOC = """ 7Runs a cpu-hogging process in the Chrome renderer background cgroup, which is 8CPU bandwidth limited and verifies that 90% of the time slices were throttled. 9""" 10NAME = "kernel_SchedBandwith" 11PURPOSE = """ 12Checks that /sys/fs/cgroup/cpu/chrome_renderers/background/cpu.cfs_quota_us 13is enforced. 14""" 15CRITERIA = """ 16Fails if CONFIG_CFS_BANDWIDTH components do not exist or behave incorrectly. 17""" 18ATTRIBUTES = "suite:hwqual" 19TIME = "SHORT" 20TEST_CATEGORY = "Functional" 21TEST_CLASS = "kernel" 22TEST_TYPE = "client" 23 24job.run_test('kernel_SchedBandwith') 25