• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "puthik"
2NAME = "power_VideoCall.fast_crosbolt"
3PURPOSE = "Make sure power_VideoCall works fine."
4CRITERIA = "This test is a benchmark."
5TIME = "SHORT"
6TEST_CATEGORY = "Benchmark"
7TEST_CLASS = "power"
8TEST_TYPE = "client"
9ATTRIBUTES = "suite:crosbolt_perf_perbuild"
10
11DOC = """
12This test simulates video call multitasking and record power related statistic.
13
14Workload
15- Camera preview in 720p using VP9 codec.
16- Four 720p 30fps video playback with two VP8 videos and two VP9 videos.
17- Google Doc with emulated typing.
18
19The fast version only runs for 3 minutes to make sure the test works as expected.
20Crosbolt version adds force_discharge to collect total system power from battery.
21"""
22
23args_dict = utils.args_to_dict(args)
24pdash_note = args_dict.get('pdash_note', '')
25
26job.default_profile_only = True
27job.profilers.add('cros_perf', interval=20)
28
29job.run_test('power_VideoCall', pdash_note=pdash_note, duration=180,
30             tag=NAME.split('.')[1], seconds_period=5, force_discharge=True)
31
32job.profilers.delete('cros_perf')
33
34