66 static constexpr std::chrono::milliseconds kMinPrintPeriod{1000};
This file defines the StringMap class.
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
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:43
basic_string_view< char > string_view
Definition: core.h:501
Definition: AprilTagPoseEstimator.h:15
Definition: ntcore_cpp.h:26