Class TimerPool
- java.lang.Object
-
- org.sosy_lab.java_smt.delegate.statistics.TimerPool
-
public class TimerPool extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimerPool.TimerWrapperA minimal wrapper to keep a reference on the timer and provide a limited view.
-
Constructor Summary
Constructors Constructor Description TimerPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeSpangetMaxTime()Return the maximal time of all intervals.TimerPool.TimerWrappergetNewTimer()intgetNumberOfIntervals()Return the number of intervals.TimeSpangetSumTime()StringtoString()
-
-
-
Method Detail
-
getNewTimer
public TimerPool.TimerWrapper getNewTimer()
-
getSumTime
public TimeSpan getSumTime()
-
getMaxTime
public TimeSpan getMaxTime()
Return the maximal time of all intervals. If timers are running, the current intervals are also counted (up to the current time). If no timer was started, this method returns 0.
-
getNumberOfIntervals
public int getNumberOfIntervals()
Return the number of intervals. If timers are running, the current intervals are also counted. If no timer was started, this method returns 0.
-
-