OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 AUTHOR = "Chrome OS Team" | 5 AUTHOR = "Chrome OS Team" |
6 NAME = "power_Draw" | 6 NAME = "power_Draw" |
7 PURPOSE = "Measure how much power is drawn over a given amount of time." | 7 PURPOSE = "Measure how much power is drawn over a given amount of time." |
8 CRITERIA = "This test is a benchmark." | 8 CRITERIA = "This test is a benchmark." |
9 TIME = "MEDIUM" | 9 TIME = "MEDIUM" |
10 TEST_CATEGORY = "Functional" | 10 TEST_CATEGORY = "Functional" |
(...skipping 17 matching lines...) Expand all Loading... |
28 def run_power_draw(): | 28 def run_power_draw(): |
29 job.run_test('power_Draw', seconds=seconds, tag=tag) | 29 job.run_test('power_Draw', seconds=seconds, tag=tag) |
30 | 30 |
31 | 31 |
32 def run_sat(): | 32 def run_sat(): |
33 job.run_test('hardware_SAT', seconds=seconds, tag=tag) | 33 job.run_test('hardware_SAT', seconds=seconds, tag=tag) |
34 | 34 |
35 | 35 |
36 def run_gpu(): | 36 def run_gpu(): |
37 job.run_test('gl_Bench', | 37 job.run_test('gl_Bench', |
38 options='-t fill -t triangle -d %d' % seconds, | 38 options='-tests fill:triangle -duration %d' % seconds, |
39 tag=tag) | 39 tag=tag) |
40 | 40 |
41 | 41 |
42 job.parallel([run_power_draw], [run_sat], [run_gpu]) | 42 job.parallel([run_power_draw], [run_sat], [run_gpu]) |
OLD | NEW |