public
interface
IMonitor
| android.support.test.jank.IMonitor |
An interface used to define a class that monitors test methods and collects metrics.
Public methods | |
|---|---|
abstract
Bundle
|
getMetrics()
Get the summary results accross all iterations. |
abstract
void
|
startIteration()
Begin monitoring a test method. |
abstract
Bundle
|
stopIteration()
Stop monitoring a test method and return intermediate results for this iteration. |
Bundle getMetrics ()
Get the summary results accross all iterations.
| Returns | |
|---|---|
Bundle |
|
void startIteration ()
Begin monitoring a test method.
| Throws | |
|---|---|
Throwable |
|
Bundle stopIteration ()
Stop monitoring a test method and return intermediate results for this iteration.
| Returns | |
|---|---|
Bundle |
A Bundle of test results.
|
| Throws | |
|---|---|
Throwable |
|