Package proguard.analysis
Class Metrics
- java.lang.Object
-
- proguard.analysis.Metrics
-
public class Metrics extends java.lang.Object
Utility to collect statistical information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Metrics.MetricType
Constants which are used as metric types.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<Metrics.MetricType,java.lang.Integer>
counts
-
Constructor Summary
Constructors Constructor Description Metrics()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
flush()
Get all collected data as a string and clear it afterwards.static void
increaseCount(Metrics.MetricType type)
-
-
-
Field Detail
-
counts
public static final java.util.Map<Metrics.MetricType,java.lang.Integer> counts
-
-
Method Detail
-
increaseCount
public static void increaseCount(Metrics.MetricType type)
-
flush
public static java.lang.String flush()
Get all collected data as a string and clear it afterwards.
-
-