GoogleBenchmarkResultParser
public class GoogleBenchmarkResultParser
extends Object
java.lang.Object |
↳ | com.android.tradefed.testtype.GoogleBenchmarkResultParser |
シェルから実行された Google Benchmark の結果を解析し、すべての結果を含むマップを返します。
まとめ
保護されたメソッド |
---|
| parseJsonToMap (JSONObject j) すべての json キーを調べて、一致する値を持つマップに配置するヘルパー。 |
パブリック コンストラクター
GoogleBenchmarkResultParser
public GoogleBenchmarkResultParser (String testClassName,
ITestInvocationListener listener)
パラメーター |
---|
testClassName | String |
listener | ITestInvocationListener |
公開メソッド
解析する
public parse (CollectingOutputReceiver output)
個々の出力行を解析します。名前、反復、リアルタイム、cpu_time、秒あたりのバイト数、秒あたりのアイテム数、ラベル
パラメーター |
---|
output | CollectingOutputReceiver : テスト出力が含まれています |
保護されたメソッド
parseJsonToMap
protected parseJsonToMap (JSONObject j)
すべての json キーを調べて、一致する値を持つマップに配置するヘルパー。