21 namespace perception {
27 void tic() { _start = std::chrono::system_clock::now(); }
28 double toc(
bool reset =
false) {
29 auto time = std::chrono::system_clock::now();
30 std::chrono::duration<double, std::milli> dur = time - _start;
38 std::chrono::time_point<std::chrono::system_clock> _start;
Definition: lidar_timer.h:24
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
void tic()
Definition: lidar_timer.h:27
Timer()
Definition: lidar_timer.h:26
double toc(bool reset=false)
Definition: lidar_timer.h:28