66 static constexpr std::chrono::milliseconds MIN_PRINT_PERIOD{1000};
void AddEpoch(std::string_view epochName)
Adds time since last epoch to the list printed by PrintEpochs().
Tracer()
Constructs a Tracer instance.
void ResetTimer()
Restarts the epoch timer.
void PrintEpochs(wpi::util::raw_ostream &os)
Prints list of epochs added so far and their times to a stream.
void ClearEpochs()
Clears all epochs.
void PrintEpochs()
Prints list of epochs added so far and their times to the DriverStation.
std::chrono::time_point< monotonic_clock > time_point
Definition monotonic_clock.hpp:22
StringMap is a sorted associative container that contains key-value pairs with unique string keys.
Definition StringMap.hpp:26
Definition raw_os_ostream.hpp:19
Definition CvSource.hpp:15