• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "puthik"
2NAME = "power_VideoCall.16_vp9"
3PURPOSE = "Simulates video call."
4CRITERIA = "This test is a benchmark."
5TIME = "MEDIUM"
6TEST_CATEGORY = "Benchmark"
7TEST_CLASS = "power"
8TEST_TYPE = "client"
9PY_VERSION = 3
10
11DOC = """
12This test simulates video call and record power related statistic.
13
14Workload
15- Camera preview in 270p using VP8 codec.
16- 16 270p 24fps VP9 video playback.
17
18The run time is 3 minutes.
19"""
20
21video_url = 'http://crospower.page.link/power_VideoCall_' + NAME.split('.')[1]
22
23args_dict = utils.args_to_dict(args)
24pdash_note = args_dict.get('pdash_note', '')
25job.run_test('power_VideoCall', pdash_note=pdash_note, tag=NAME.split('.')[1],
26             video_url=video_url, num_video=17, duration=180, seconds_period=5,
27             multitask=False)
28