MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / printTimeElapsedToRosInfoStream

Function printTimeElapsedToRosInfoStream

grid_map_pcl/src/helpers.cpp:89–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89inline void printTimeElapsedToRosInfoStream(const std::chrono::system_clock::time_point& start, const std::string& prefix) {
90 const auto stop = std::chrono::high_resolution_clock::now();
91 const auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(stop - start).count() / 1000.0;
92 ROS_INFO_STREAM(prefix << duration << " sec");
93}
94
95void processPointcloud(grid_map::GridMapPclLoader* gridMapPclLoader, const ros::NodeHandle& nh) {
96 const auto start = std::chrono::high_resolution_clock::now();

Callers 1

processPointcloudFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected