Package org.robolectric.util
Class SimplePerfStatsReporter
java.lang.Object
org.robolectric.util.SimplePerfStatsReporter
- All Implemented Interfaces:
PerfStatsReporter
public class SimplePerfStatsReporter extends Object implements PerfStatsReporter
Simple implementation of PerfStatsReporter that writes stats to stdout.
-
Constructor Summary
Constructors Constructor Description SimplePerfStatsReporter()
-
Method Summary
Modifier and Type Method Description void
register()
void
report(Metadata metadata, Collection<Metric> metrics)
Report performance stats.
-
Constructor Details
-
SimplePerfStatsReporter
public SimplePerfStatsReporter()
-
-
Method Details
-
report
Description copied from interface:PerfStatsReporter
Report performance stats.- Specified by:
report
in interfacePerfStatsReporter
- Parameters:
metadata
- metadata about this set of metrics.metrics
- the metrics.
-
register
public void register()
-