SimplePerfResult
public class SimplePerfResult
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.SimplePerfResult |
Objeto para armazenar todos os resultados do teste simpleperf
Veja também:
Resumo
Construtores públicos | |
|---|---|
SimplePerfResult ()Construtor | |
Métodos públicos | |
|---|---|
getBenchmarkComments ()Obtenha comentários de referência | |
getBenchmarkMetrics ()Obtenha métricas de referência | |
String | getCommandRawOutput ()Obter string de saída bruta do comando Se não houver saída, uma string vazia será retornada |
String | getSimplePerfRawOutput ()Obtenha a string de saída bruta do simpleperf Se não houver saída, uma string vazia será retornada |
String | getTotalTestTime ()Obtenha o tempo total do teste |
Métodos protegidos | |
|---|---|
void | addBenchmarkComment (String key, String val) |
void | addBenchmarkMetrics (String key, String val) |
void | setCommandRawOutput (String s) |
void | setSimplePerfRawOutput (String s) |
void | setTotalTestTime (String time) |
Construtores públicos
SimplePerfResult
public SimplePerfResult ()
Construtor
Métodos públicos
getBenchmarkComments
publicgetBenchmarkComments ()
Obtenha comentários de referência
| Devoluções | |
|---|---|
Chave ERROR(/Map) : nome do benchmark, valor: comentário | |
getBenchmarkMetrics
publicgetBenchmarkMetrics ()
Obtenha métricas de referência
| Devoluções | |
|---|---|
Chave ERROR(/Map) : nome do benchmark, valor: métricas | |
getCommandRawOutput
public String getCommandRawOutput ()
Obter string de saída bruta do comando
Se não houver saída, uma string vazia será retornada| Devoluções | |
|---|---|
String | String contém saída para comando especificado pelo usuário |
getSimplePerfRawOutput
public String getSimplePerfRawOutput ()
Obtenha a string de saída bruta do simpleperf
Se não houver saída, uma string vazia será retornada| Devoluções | |
|---|---|
String | String contém saída em informações de resultados do simpleperf |
getTotalTestTime
public String getTotalTestTime ()
Obtenha o tempo total do teste
| Devoluções | |
|---|---|
String | String indica o tempo total de teste |
Métodos protegidos
adicionarBenchmarkComment
protected void addBenchmarkComment (String key,
String val)| Parâmetros | |
|---|---|
key | String |
val | String |
addBenchmarkMetrics
protected void addBenchmarkMetrics (String key,
String val)| Parâmetros | |
|---|---|
key | String |
val | String |
setCommandRawOutput
protected void setCommandRawOutput (String s)
| Parâmetros | |
|---|---|
s | String |
setSimplePerfRawOutput
protected void setSimplePerfRawOutput (String s)
| Parâmetros | |
|---|---|
s | String |
setTotalTestTime
protected void setTotalTestTime (String time)
| Parâmetros | |
|---|---|
time | String |