Package com.ctre.phoenix.time
Class StopWatch
java.lang.Object
com.ctre.phoenix.time.StopWatch
Stopwatch to track time in milliseconds
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StopWatch
public StopWatch()
-
-
Method Details
-
start
Start the stopwatch -
getDuration
- Returns:
- Current time elapsed since start in s
-
getDurationMs
- Returns:
- Current time elapsed since start in ms
-