NativeStressTestParser
public
class
NativeStressTestParser
extends MultiLineReceiver
java.lang.Object 中
|
↳ |
com.android.ddmlib.MultiLineReceiver
|
|
↳ |
com.android.tradefed.testtype.NativeStressTestParser
|
一个 IShellOutputReceiver
,用于解析压力测试数据输出,并收集
完成的迭代次数和每次迭代的平均时间。
查找以下输出
pass 0
...
==== pass X
Successfully completed X passes
其中“X”指迭代次数,
摘要
公共构造函数
NativeStressTestParser
public NativeStressTestParser (String runName)
创建 NativeStressTestParser
。
参数 |
runName |
String :运行名称。用于记录目的。 |
公共方法
getIterationsCompleted
public int getIterationsCompleted ()
getRunName
public String getRunName ()
已取消
public boolean isCancelled ()
processNewLines
public void processNewLines (String[] lines)
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):2024-08-22。"],[],[]]