Partager via


SMP Depth Test - Kernel Mode (Compact 2013)

3/26/2014

This test suite exercises CePowerOnProcessor and CePowerOffProcessor APIs and ensures the system state is consistent.

OEM must implement g_pOemGlobal->pfnMpCpuPowerFunc before running this test. Otherwise the test will fail.

Test Prerequisites

Your device must meet the following requirements before you run this test.

The following tables show the hardware and software requirements for the SMP Depth (Kernel Mode) Test.

Hardware Requirements

Description

Multi-core processor

This test is intended for testing multi-core processor.

BSP that supports g_pOemglobal->pfnMpCpuPowerFunc

This function must be supported to allow powering on/off the processor.

Software Requirements

Description

tux.exe

Tux test harness, required for test execution

kato.dll

Kato logging engine, required for logging test data

ktux.dll

Tux test harness to run in kernel mode

ksmpdepth.dll

Test library

Subtests

The table below lists the subtests included in this test.

SubTest ID

Description

2110

Power Test #1 - Basic API testing on CEPowerOnProcessor and CEPowerOffProcessor

2111

Power Test #2 - Powering on and off processor during matrix multiply

2112

Power Test #3 - Powering on and off processors in parallel

Setting Up the Test

This test has no additional requirements, beyond the standard test environment setup.

Running the Test

The SMP Depth test will execute the default command line: tux -o -n -d smpdepth.dll. There are no test-specific command line options.

Verifying the Test

When the test completes running, verify that "PASS" appears in the test log for all subtests.

Troubleshooting the Test

Currently only ARM platforms support CePowerOnProcessor and CePowerOffProcessor.

OEM must implement g_pOemGlobal->pfnMpCpuPowerFunc before running this test.

See Also

Other Resources

Kernel Tests