GoogleBenchmarkResultParser
public
class
GoogleBenchmarkResultParser
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.testtype.GoogleBenchmarkResultParser
|
剖析從殼層執行的 Google Benchmark 結果。
然後傳回內含所有結果的地圖
摘要
公用建構函式
GoogleBenchmarkResultParser
public GoogleBenchmarkResultParser (String testClassName,
ITestInvocationListener listener)
參數 |
testClassName |
String |
listener |
ITestInvocationListener |
公用方法
剖析
public parse (CommandResult cmd_result)
剖析個別輸出行。
name,iterations,real_time,cpu_time,bytes_per_second,items_per_second,label
參數 |
cmd_result |
CommandResult :含有測試輸出內容的裝置指令結果 |
保護方法
parseJsonToMap
protected parseJsonToMap (JSONObject j)
協助超過所有 JSON 金鑰的輔助程式,將金鑰與對應的值放入對應表中。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間:2024-08-29 (世界標準時間)。"],[],[]]