Пример #1
0
def register_tests():
    testsuite.add_test("MSR consistency test", msr_test)
    testsuite.add_test("_PSD (P-State Dependency) test", testacpi.test_psd_thread_scope, submenu="ACPI Tests")
    power_profile_submenu = "Power optimization, profile specific tests"
    testsuite.add_test(
        "Power optimization, Performance profile", power_opt_perf_profile, submenu=power_profile_submenu, runall=False
    )
    testsuite.add_test(
        "Power optimization, Balance with Performance Bias profile",
        power_opt_bal_perf_bias_profile,
        submenu=power_profile_submenu,
        runall=False,
    )
    testsuite.add_test(
        "Power optimization, Balance with Energy Bias profile",
        power_opt_bal_energy_bias_profile,
        submenu=power_profile_submenu,
        runall=False,
    )
    testsuite.add_test(
        "Power optimization, Low Power profile",
        power_opt_low_power_profile,
        submenu=power_profile_submenu,
        runall=False,
    )
    testsuite.add_test("Test hardware P-state ratios", lambda: pstate.test_hardware_pstates(pstate.turbo_msr))
Пример #2
0
def register_tests():
    testsuite.add_test("MSR consistency test", msr_test)
    testsuite.add_test("_PSD (P-State Dependency) test",
                       testacpi.test_psd_thread_scope,
                       submenu="ACPI Tests")
    power_profile_submenu = "Power optimization, profile specific tests"
    testsuite.add_test("Power optimization, Performance profile",
                       power_opt_perf_profile,
                       submenu=power_profile_submenu,
                       runall=False)
    testsuite.add_test(
        "Power optimization, Balance with Performance Bias profile",
        power_opt_bal_perf_bias_profile,
        submenu=power_profile_submenu,
        runall=False)
    testsuite.add_test("Power optimization, Balance with Energy Bias profile",
                       power_opt_bal_energy_bias_profile,
                       submenu=power_profile_submenu,
                       runall=False)
    testsuite.add_test("Power optimization, Low Power profile",
                       power_opt_low_power_profile,
                       submenu=power_profile_submenu,
                       runall=False)
    testsuite.add_test("Test hardware P-state ratios",
                       lambda: pstate.test_hardware_pstates(pstate.turbo_msr))
Пример #3
0
def register_tests():
    testsuite.add_test("MSR consistency test", msr_test)
    testsuite.add_test("Power management test suite, generic profile",
                       test_pm_generic_profile)
    testsuite.add_test("C-state residency test",
                       lambda: cstate_residency.test(*residency_params))
    testsuite.add_test(
        "C-state residency test with USB disabled via BIOS handoff",
        lambda: cstate_residency.test_with_usb_disabled(*residency_params),
        runall=False)
    testsuite.add_test("Test hardware P-state ratios",
                       lambda: pstate.test_hardware_pstates(pstate.turbo_msr))
Пример #4
0
def register_tests():
    testsuite.add_test("MSR consistency test", msr_test)
    testsuite.add_test("Power management test suite, generic profile", test_pm_generic_profile)
    testsuite.add_test("C-state residency test", lambda: cstate_residency.test(*residency_params))
    testsuite.add_test("C-state residency test with USB disabled via BIOS handoff", lambda: cstate_residency.test_with_usb_disabled(*residency_params), runall=False)
    testsuite.add_test("Test hardware P-state ratios", lambda: pstate.test_hardware_pstates(pstate.turbo_msr))