• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "Chrome OS Team"
6NAME = "platform_BootPerf"
7PURPOSE = "Collect boot performance metrics from the last system reboot."
8CRITERIA = """
9The test will fail if startup times or shut down times are exceeded. These
10values are set in the suite control file.
11"""
12ATTRIBUTES = "suite:crosbolt_perf_nightly"
13TIME = "SHORT"
14TEST_CATEGORY = "Benchmark"
15TEST_CLASS = "platform"
16TEST_TYPE = "client"
17
18DOC = """
19Definitions of the results:
20
21  - reboots_in_syslog:
22    - the count of the number of reboots in syslog.
23  - seconds_firmware_boot:
24    - how long it took just the firmware to boot.
25  - seconds_kernel_to_login:
26    - how long from kernel startup to login screen display.
27  - seconds_kernel_to_startup:
28    - how long we've been up before starting the kernel.
29  - seconds_kernel_to_startup_done:
30    - how long we've been up after starting the kernel.
31  - seconds_power_on_to_login:
32    - total number of seconds from power on to login screen display. This is
33      the sum of the other values, and represents the total startup time.
34  - seconds_reboot_time:
35    - This is the total time from start of a reboot until the firmware has
36      booted.
37  - seconds_shutdown_time:
38    - This is the total time from the beginning of a shutdown until
39      power off.  This is actually measured as time for a complete
40      reboot, minus the seconds_firmware_boot time.
41  - sectors_read_kernel_to_login:
42    - This is the number of disk sectors read from kernel boot until
43      login screen display.
44"""
45
46job.run_test('platform_BootPerf')
47