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 () Obter comentários de referência | |
getBenchmarkMetrics () Obter métricas de referência | |
String | getCommandRawOutput () Obter string de saída bruta de comando Se não houver saída, uma string vazia será retornada |
String | getSimplePerfRawOutput () Obter string de saída bruta simpleperf Se não houver saída, uma string vazia será retornada |
String | getTotalTestTime () Obter tempo total de 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 ()
Obter comentários de referência
devoluções | |
---|---|
Chave ERROR(/Map) : nome do benchmark, valor: comentário |
getBenchmarkMetrics
publicgetBenchmarkMetrics ()
Obter 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 de comando
Se não houver saída, uma string vazia será retornadadevoluções | |
---|---|
String | ERROR(/String) contém a saída para o comando especificado pelo usuário |
getSimplePerfRawOutput
public String getSimplePerfRawOutput ()
Obter string de saída bruta simpleperf
Se não houver saída, uma string vazia será retornadadevoluções | |
---|---|
String | ERROR(/String) contém saída em informações de resultados simpleperf |
getTotalTestTime
public String getTotalTestTime ()
Obter tempo total de teste
devoluções | |
---|---|
String | ERROR(/String) indica o tempo total do teste |
Métodos protegidos
addBenchmarkComment
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 |