Package org.robolectric.pluginapi.perf
Class Metric
- java.lang.Object
-
- org.robolectric.pluginapi.perf.Metric
-
public class Metric extends Object
Metric for perf stats collection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getCount()
long
getElapsedNs()
long
getMaxNs()
long
getMinNs()
String
getName()
int
hashCode()
void
incrementCount()
boolean
isSuccess()
void
record(long elapsedNs)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
getCount
public int getCount()
-
getElapsedNs
public long getElapsedNs()
-
getMinNs
public long getMinNs()
-
getMaxNs
public long getMaxNs()
-
isSuccess
public boolean isSuccess()
-
record
public void record(long elapsedNs)
-
incrementCount
public void incrementCount()
-
-