• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "puthik"
2NAME = "power_ThermalLoad.option"
3PURPOSE = "Run thermal workload and log temperature."
4CRITERIA = "This test is a benchmark."
5TIME = "SHORT"
6TEST_CATEGORY = "Benchmark"
7TEST_CLASS = "power"
8TEST_TYPE = "client"
9
10DOC = """
11This test is power_ThermalLoad that can use custom args.
12
13- duration: time in seconds to display url and measure power, default 2.5 hours.
14- numfish: number of fish to pass to WebGL Aquarium, default 3000 fishes.
15"""
16HOURS=60 * 60
17
18args_dict = utils.args_to_dict(args)
19
20duration = int(args_dict.get('duration', 2.5 * HOURS))
21# utils.args_to_dict convert arg to lower case.
22numFish = int(args_dict.get('numfish', 3000))
23seconds_period = int(args_dict.get('seconds_period', 20))
24pdash_note = args_dict.get('pdash_note', '')
25
26logging.info(str(args_dict))
27job.run_test('power_ThermalLoad', tag=NAME.split('.')[1], duration=duration,
28             numFish=numFish, seconds_period=seconds_period,
29             pdash_note=pdash_note)
30