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 5 AUTHOR = "The Chromium OS Authors" 6 DOC = """ 7 Runs a cpu-hogging process in the Chrome renderer background cgroup, which is 8 CPU bandwidth limited and verifies that 90% of the time slices were throttled. 9 """ 10 NAME = "kernel_SchedBandwith" 11 PURPOSE = """ 12 Checks that /sys/fs/cgroup/cpu/chrome_renderers/background/cpu.cfs_quota_us 13 is enforced. 14 """ 15 CRITERIA = """ 16 Fails if CONFIG_CFS_BANDWIDTH components do not exist or behave incorrectly. 17 """ 18 ATTRIBUTES = "suite:hwqual" 19 SUITE = "hwqual" 20 TIME = "SHORT" 21 TEST_CATEGORY = "Functional" 22 TEST_CLASS = "kernel" 23 TEST_TYPE = "client" 24 25 job.run_test('kernel_SchedBandwith') 26