• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "puthik"
2NAME = "power_VideoEncode.FDO"
3PURPOSE = "Measure video encode power usage with optional force discharge."
4
5CRITERIA = "This test is a benchmark."
6TIME = "LONG"
7TEST_CATEGORY = "Benchmark"
8TEST_CLASS = "power"
9TEST_TYPE = "client"
10ATTRIBUTES = "suite:power_daily"
11PY_VERSION = 3
12
13DOC = """
14This test records power related statistics while encode video file in various
15formats while optionally force discharge.
16
17"FDO" is short for "force discharge optional." Test will use EC command to
18force DUT to discharge. If it fails, then use AC as the power source.
19"""
20
21args_dict = utils.args_to_dict(args)
22pdash_note = args_dict.get('pdash_note', '')
23job.run_test('power_VideoEncode', pdash_note=pdash_note, seconds_period=5,
24             force_discharge='optional')
25