Class Profiler
java.lang.Object
ca.spottedleaf.profiler.Profiler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidincrementCounter(int timerId, long count) voidincrementTimer(int timerId, long count) voidstartTimer(int timerId, long startTime) voidstopLastTimer(long endTime) voidstopTimer(int timerId, long endTime)
-
Field Details
-
registry
-
-
Constructor Details
-
Profiler
-
-
Method Details
-
copyCurrent
-
copyAccumulated
-
accumulate
public void accumulate() -
clearCurrent
public void clearCurrent() -
incrementCounter
public void incrementCounter(int timerId, long count) -
incrementTimer
public void incrementTimer(int timerId, long count) -
startTimer
public void startTimer(int timerId, long startTime) -
stopTimer
public void stopTimer(int timerId, long endTime) -
stopLastTimer
public void stopLastTimer(long endTime)
-