模擬器記憶體CPU捕獲器

public class EmulatorMemoryCpuCapturer
extends Object

java.lang.Object
com.android.tradefed.device.metric.EmulatorMemoryCpuCapturer


概括

公共構造函數

EmulatorMemoryCpuCapturer ( ITestDevice device)

公共方法

float getCpuUsage ()
long getPssMemory ()

受保護的方法

IRunUtil getRunUtil ()

公共構造函數

模擬器記憶體CPU捕獲器

public EmulatorMemoryCpuCapturer (ITestDevice device)

參數
device ITestDevice

公共方法

取得CPU使用情況

public float getCpuUsage ()

退貨
float

取得Pss內存

public long getPssMemory ()

退貨
long

受保護的方法

取得運行工具

protected IRunUtil getRunUtil ()

退貨
IRunUtil