Package com.google.errorprone
Class ErrorProneTimings
java.lang.Object
com.google.errorprone.ErrorProneTimings
public final class ErrorProneTimings extends Object
A collection of timing data for the runtime of individual checks.
-
Method Summary
Modifier and Type Method Description static ErrorProneTimings
instance(com.sun.tools.javac.util.Context context)
AutoCloseable
span(Suppressible suppressible)
Creates a timing span for the givenSuppressible
.com.google.common.collect.ImmutableMap<String,Duration>
timings()
Returns the elapsed durations of each timer.
-
Method Details
-
instance
-
span
Creates a timing span for the givenSuppressible
. -
timings
Returns the elapsed durations of each timer.
-