CpuThrottlingWaiter

public class CpuThrottlingWaiter
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.CpuThrottlingWaiter


모든 코어의 최대 주파수가 사용 가능한 최고 수준으로 복원될 때까지 기다리는 ITargetPreparer

요약

공개 생성자

CpuThrottlingWaiter()

공개 메서드

void setUp(TestInformation testInfo)

보호된 메서드

getCpuMaxFreqs(ITestDevice device)

/sys/devices/system/cpu 아래의 정보를 읽어 사용 가능한 코어와 각 코어의 최대 주파수를 확인합니다.

공개 생성자

CpuThrottlingWaiter

public CpuThrottlingWaiter ()

공개 메서드

setUp

public void setUp (TestInformation testInfo)

매개변수
testInfo TestInformation

생성 값
BuildError
DeviceNotAvailableException
TargetSetupError

보호된 메서드

getCpuMaxFreqs

protected  getCpuMaxFreqs (ITestDevice device)

/sys/devices/system/cpu 아래의 정보를 읽어 사용 가능한 코어와 각 코어의 최대 주파수를 확인합니다.

매개변수
device ITestDevice: 테스트 대상 기기

반환 값
sysfs cpuinfo의 경로가 키이고 상응하는 최대 주파수가 값인 ERROR(/Map)

생성 값
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException