SimplePerfResult

public class SimplePerfResult
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.SimplePerfResult


Oggetto per contenere tutti i risultati dei test simpleperf

Riepilogo

Costruttori pubblici

SimplePerfResult()

Costruttore

Metodi pubblici

Map<String, String> getBenchmarkComments()

Ottenere commenti di benchmark

Map<String, String> getBenchmarkMetrics()

Recuperare le metriche di benchmark

String getCommandRawOutput()

Ottieni la stringa di output non elaborato del comando

Se non viene restituito alcun output, viene restituita una stringa vuota

String getSimplePerfRawOutput()

Ottieni la stringa di output non elaborata di simpleperf

Se non viene restituito alcun output, viene restituita una stringa vuota

String getTotalTestTime()

Visualizzare il tempo totale del test

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

public Map<String, String> getBenchmarkComments ()

Ottenere commenti di benchmark

Resi
Map<String, String> Map chiave: nome del benchmark, valore: commento

getBenchmarkMetrics

public Map<String, String> getBenchmarkMetrics ()

Recuperare le metriche di benchmark

Resi
Map<String, String> Map Chiave: nome del benchmark, valore: metriche

getCommandRawOutput

public String getCommandRawOutput ()

Ottieni la stringa di output non elaborato del comando

Se non viene restituito alcun output, viene restituita una stringa vuota

Resi
String String contiene l'output del comando specificato dall'utente

getSimplePerfRawOutput

public String getSimplePerfRawOutput ()

Ottieni la stringa di output non elaborata di simpleperf

Se non viene restituito alcun output, viene restituita una stringa vuota

Resi
String String contiene l'output delle informazioni sui risultati di simpleperf

getTotalTestTime

public String getTotalTestTime ()

Visualizzare il tempo totale del test

Resi
String String indica il tempo totale di test

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