Package edu.wpi.first.math
Interface MathShared
public interface MathShared
-
Method Summary
Modifier and Type Method Description double
getTimestamp()
Get the current time.void
reportError(String error, StackTraceElement[] stackTrace)
Report an error.void
reportUsage(MathUsageId id, int count)
Report usage.
-
Method Details
-
reportError
Report an error.- Parameters:
error
- the error to setstackTrace
- array of stacktrace elements
-
reportUsage
Report usage.- Parameters:
id
- the usage idcount
- the usage count
-
getTimestamp
double getTimestamp()Get the current time.- Returns:
- Time in seconds
-