GoogleBenchmarkResultParser
public class GoogleBenchmarkResultParser
extends Object
java.lang.객체 |
↳ | 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)
개별 출력 라인을 구문 분석합니다. 이름,반복,real_time,cpu_time,bytes_per_second,items_per_second,레이블
매개변수 |
---|
output | CollectingOutputReceiver : 테스트 출력을 포함합니다. |
보호된 메서드
parseJsonToMap
protected parseJsonToMap (JSONObject j)
모든 json 키를 검토하고 일치하는 값으로 맵에 배치하는 도우미입니다.