Nano Timer
This is the NanoTimer class. It is an elapsed time clock with nanosecond precision, or at least as precise as the System.nanoTime() is.
Author
Anyi Lin - 10158 Scott's Bots
Aaron Yang - 10158 Scott's Bots
Harrison Womack - 10158 Scott's Bots
Constructors
Functions
Link copied to clipboard
This returns the elapsed time in nanoseconds since the start time of the NanoTimer.
Link copied to clipboard
This returns the elapsed time in seconds since the start time of the NanoTimer.
Link copied to clipboard
This resets the NanoTimer's start time to the current time using System.nanoTime().