SimplePerfResult
public
class
SimplePerfResult
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.SimplePerfResult |
Oggetto per contenere tutti i risultati del test simpleperf
Vedi anche:
Riepilogo
Costruttori pubblici | |
|---|---|
SimplePerfResult()
Costruttore |
|
Metodi pubblici | |
|---|---|
|
getBenchmarkComments()
Ricevere commenti sui benchmark |
|
getBenchmarkMetrics()
Ottenere le metriche di benchmark |
String
|
getCommandRawOutput()
Recupera la stringa di output non elaborata del comando Se non viene generato alcun output, verrà restituita una stringa vuota |
String
|
getSimplePerfRawOutput()
Ottenere la stringa di output non elaborata di simpleperf Se non viene generato alcun output, verrà restituita una stringa vuota |
String
|
getTotalTestTime()
Ottenere il tempo di test totale |
Metodi protetti | |
|---|---|
void
|
addBenchmarkComment(String key, String val)
|
void
|
addBenchmarkMetrics(String key, String val)
|
void
|
setCommandRawOutput(String s)
|
void
|
setSimplePerfRawOutput(String s)
|
void
|
setTotalTestTime(String time)
|
Costruttori pubblici
SimplePerfResult
public SimplePerfResult ()
Costruttore
Metodi pubblici
getBenchmarkComments
publicgetBenchmarkComments ()
Ricevere commenti sui benchmark
| Ritorni | |
|---|---|
|
ERROR(/Map) key: nome del benchmark, value: commento
|
getBenchmarkMetrics
publicgetBenchmarkMetrics ()
Ottenere le metriche di benchmark
| Ritorni | |
|---|---|
|
ERROR(/Map) key: nome del benchmark, value: metriche
|
getCommandRawOutput
public String getCommandRawOutput ()
Recupera la stringa di output non elaborata del comando
Se non viene generato alcun output, verrà restituita una stringa vuota
| Ritorni | |
|---|---|
String |
String contiene l'output per il comando specificato dall'utente
|
getSimplePerfRawOutput
public String getSimplePerfRawOutput ()
Ottenere la stringa di output non elaborata di simpleperf
Se non viene generato alcun output, verrà restituita una stringa vuota
| Ritorni | |
|---|---|
String |
String contiene l'output relativo alle informazioni sui risultati di simpleperf
|
getTotalTestTime
public String getTotalTestTime ()
Ottenere il tempo di test totale
| Ritorni | |
|---|---|
String |
String indica il tempo di test totale
|
Metodi protetti
addBenchmarkComment
protected void addBenchmarkComment (String key,
String val)| Parametri | |
|---|---|
key |
String |
val |
String |
addBenchmarkMetrics
protected void addBenchmarkMetrics (String key,
String val)| Parametri | |
|---|---|
key |
String |
val |
String |
setCommandRawOutput
protected void setCommandRawOutput (String s)
| Parametri | |
|---|---|
s |
String |
setSimplePerfRawOutput
protected void setSimplePerfRawOutput (String s)
| Parametri | |
|---|---|
s |
String |
setTotalTestTime
protected void setTotalTestTime (String time)
| Parametri | |
|---|---|
time |
String |