CMS 3D CMS Logo

sonic_utils.h
Go to the documentation of this file.
1 #ifndef HeterogeneousCore_SonicCore_sonic_utils
2 #define HeterogeneousCore_SonicCore_sonic_utils
3 
4 #include <string_view>
5 #include <chrono>
6 
7 namespace sonic_utils {
8  using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>;
9 
10  void printDebugTime(std::string_view debugName, std::string_view msg, const TimePoint& t0);
11 } // namespace sonic_utils
12 
13 #endif
sonic_utils::TimePoint
std::chrono::time_point< std::chrono::high_resolution_clock > TimePoint
Definition: sonic_utils.h:8
mps_check.msg
tuple msg
Definition: mps_check.py:285
sonic_utils::printDebugTime
void printDebugTime(std::string_view debugName, std::string_view msg, const TimePoint &t0)
Definition: sonic_utils.cc:8
FrontierCondition_GT_autoExpress_cfi.t0
t0
Definition: FrontierCondition_GT_autoExpress_cfi.py:149
sonic_utils
Definition: sonic_utils.h:7