Cpu스로틀링웨이터
public class CpuThrottlingWaiter
extends BaseTargetPreparer
java.lang.객체 | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.CpuThrottlingWaiter |
모든 코어의 최대 주파수가 사용 가능한 최고 수준으로 복원될 때까지 기다리는 ITargetPreparer
요약
공개 생성자 | |
---|---|
CpuThrottlingWaiter () |
공개 방법 | |
---|---|
void | setUp ( TestInformation testInfo)
|
보호된 메서드 | |
---|---|
getCpuMaxFreqs ( ITestDevice device) /sys/devices/system/cpu에서 정보를 읽어 사용 가능한 코어와 각 코어에 가능한 최대 주파수를 결정합니다. |
공개 생성자
Cpu스로틀링웨이터
public CpuThrottlingWaiter ()
공개 방법
설정
public void setUp (TestInformation testInfo)
매개변수 | |
---|---|
testInfo | TestInformation |
던지기 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
보호된 메서드
getCpuMaxFreqs
protectedgetCpuMaxFreqs (ITestDevice device)
/sys/devices/system/cpu에서 정보를 읽어 사용 가능한 코어와 각 코어에 가능한 최대 주파수를 결정합니다.
매개변수 | |
---|---|
device | ITestDevice : 테스트 대상 장치 |
보고 | |
---|---|
sysfs cpuinfo에 대한 경로를 키로, 해당 최대 주파수를 값으로 포함하는 ERROR(/Map) |
던지기 | |
---|---|
| com.android.tradefed.device.DeviceNotAvailableException |
DeviceNotAvailableException |