CpuThrottlingWaiter

public class CpuThrottlingWaiter
extends BaseTargetPreparer

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


ITargetPreparer שממתין עד שתדירות השימוש המקסימלית בכל הליבות תשוחזר לרמה הגבוהה ביותר האפשרית

סיכום

‫constructors ציבוריים

CpuThrottlingWaiter()

‫methods ציבוריים

void setUp(TestInformation testInfo)

שיטות מוגנות

Map<String, String> getCpuMaxFreqs(ITestDevice device)

קורא מידע בנתיב ‎ /sys/devices/system/cpu כדי לקבוע את ליבות המעבד הזמינות ואת התדרים המקסימליים האפשריים לכל ליבה

‫constructors ציבוריים

CpuThrottlingWaiter

public CpuThrottlingWaiter ()

‫methods ציבוריים

setUp

public void setUp (TestInformation testInfo)

פרמטרים
testInfo TestInformation

הקפצת הודעות שגיאה (throw)
BuildError
DeviceNotAvailableException
TargetSetupError

שיטות מוגנות

getCpuMaxFreqs

protected Map<String, String> getCpuMaxFreqs (ITestDevice device)

קורא מידע בנתיב ‎ /sys/devices/system/cpu כדי לקבוע את ליבות המעבד הזמינות ואת התדרים המקסימליים האפשריים לכל ליבה

פרמטרים
device ITestDevice: מכשיר בבדיקה

החזרות
Map<String, String> Map עם נתיבים ל-cpuinfo של sysfs כמפתח, והתדירות המקסימלית המתאימה כערך

הקפצת הודעות שגיאה (throw)
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException