66 static constexpr std::chrono::milliseconds kMinPrintPeriod{1000};
A class for keeping track of how much time it takes for different parts of code to execute.
Definition Tracer.h:26
void AddEpoch(std::string_view epochName)
Adds time since last epoch to the list printed by PrintEpochs().
void ClearEpochs()
Clears all epochs.
void ResetTimer()
Restarts the epoch timer.
Tracer()
Constructs a Tracer instance.
void PrintEpochs(wpi::raw_ostream &os)
Prints list of epochs added so far and their times to a stream.
void PrintEpochs()
Prints list of epochs added so far and their times to the DriverStation.
static fpga_clock::time_point epoch() noexcept
Definition fpga_clock.h:25
std::chrono::time_point< fpga_clock > time_point
Definition fpga_clock.h:20
StringMap is a sorted associative container that contains key-value pairs with unique string keys.
Definition StringMap.h:26
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:43
Foonathan namespace.
Definition ntcore_cpp.h:26