Interface Timer
-
- All Known Implementing Classes:
SystemTimer
public interface Timer
Represents timer responsible for counting the execution time.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeSpan
getTime()
Returns a current counted execution time.void
start()
Starts counting execution time.TimeSpan
stop()
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
-
-