Resultado de rendimiento simple
public class SimplePerfResult
extends Object
| java.lang.Objeto | |
| ↳ | com.android.tradefed.util.SimplePerfResult |
Objeto para contener todos los resultados de la prueba simpleperf
Ver también:
Resumen
Constructores públicos | |
|---|---|
SimplePerfResult ()Constructor | |
Métodos públicos | |
|---|---|
getBenchmarkComments ()Obtener comentarios de referencia | |
getBenchmarkMetrics ()Obtenga métricas de referencia | |
String | getCommandRawOutput ()Obtener cadena de salida sin formato del comando Si no hay salida, se devolverá una cadena vacía. |
String | getSimplePerfRawOutput ()Obtenga una cadena de salida sin formato simpleperf Si no hay salida, se devolverá una cadena vacía. |
String | getTotalTestTime ()Obtener el tiempo total de prueba |
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) |
Constructores públicos
Resultado de rendimiento simple
public SimplePerfResult ()
Constructor
Métodos públicos
getBenchmarkComentarios
publicgetBenchmarkComments ()
Obtener comentarios de referencia
| Devoluciones | |
|---|---|
Tecla ERROR(/Map) : nombre del punto de referencia, valor: comentario | |
getBenchmarkMetrics
publicgetBenchmarkMetrics ()
Obtenga métricas de referencia
| Devoluciones | |
|---|---|
Clave ERROR(/Map) : nombre del punto de referencia, valor: métricas | |
getCommandRawOutput
public String getCommandRawOutput ()
Obtener cadena de salida sin formato del comando
Si no hay salida, se devolverá una cadena vacía.| Devoluciones | |
|---|---|
String | String contiene la salida del comando especificado por el usuario. |
getSimplePerfRawOutput
public String getSimplePerfRawOutput ()
Obtenga una cadena de salida sin formato simpleperf
Si no hay salida, se devolverá una cadena vacía.| Devoluciones | |
|---|---|
String | String contiene información sobre los resultados de simpleperf |
getTotalTestTime
public String getTotalTestTime ()
Obtener el tiempo total de prueba
| Devoluciones | |
|---|---|
String | String indica el tiempo total de prueba |
Métodos protegidos
agregarBenchmarkComentario
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 |
establecerComandoRawOutput
protected void setCommandRawOutput (String s)
| Parámetros | |
|---|---|
s | String |
establecerSimplePerfRawOutput
protected void setSimplePerfRawOutput (String s)
| Parámetros | |
|---|---|
s | String |
establecerTiempodepruebatotal
protected void setTotalTestTime (String time)
| Parámetros | |
|---|---|
time | String |