Interface Timer
-
- All Known Implementing Classes:
SystemTimer
public interface TimerRepresents timer responsible for counting the execution time.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeSpangetTime()Returns a current counted execution time.voidstart()Starts counting execution time.TimeSpanstop()Stops counting execution time.
-
-
-
Method Detail
-
start
void start()
Starts counting execution time.- Since:
- 1.0
-
stop
TimeSpan stop()
Stops counting execution time.- Returns:
- the counted execution time.
- Since:
- 2.0.0
-
getTime
TimeSpan getTime()
Returns a current counted execution time.- Returns:
- the current counted execution time.
- Since:
- 2.0.0
-
-