public interface Profiler
Modifier and Type | Method and Description |
---|---|
long |
getCurrentValue()
Gets the current value.
|
java.lang.String |
getName()
Gets the profiler's name.
|
boolean |
isBiggerPrinted(long v1,
long v2)
Checks whether a value will appear bigger than another once printed.
|
java.lang.String |
printValue(long value)
Prints a value with its unit.
|
long getCurrentValue()
java.lang.String printValue(long value)
value
- the value received from getCurrentValue()
.java.lang.String getName()
boolean isBiggerPrinted(long v1, long v2)
v1
- the first valuev2
- the second valuetrue
if v1 will look > v2.printValue(long)