Home | History | Annotate | Download | only in power_Resume
      1 # Copyright (c) 2011 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 
      5 AUTHOR = "Chrome OS Team"
      6 NAME = "power_Resume"
      7 PURPOSE = "Measure the amount of time it takes to resume from suspend."
      8 CRITERIA = "This test is a benchmark."
      9 ATTRIBUTES = "suite:crosbolt_perf_perbuild"
     10 SUITE = "crosbolt_perf_perbuild"
     11 TIME = "SHORT"
     12 TEST_CATEGORY = "Logging"
     13 TEST_CLASS = "power"
     14 TEST_TYPE = "client"
     15 
     16 DOC = """
     17 This test will search /var/log/messages for pertinent strings to determine if
     18 the cpu is sleeping. It will wait for a number of seconds before suspending to
     19 ram. It will then calculate how many seconds the system was suspended, and
     20 how many seconds it took to resume. As a precaution it will ensure your
     21 network interface is UP after it has resumed.
     22 """
     23 
     24 job.run_test('power_Resume')
     25