38 #ifndef TERMINAL_TOOLS_TIME_H_
39 #define TERMINAL_TOOLS_TIME_H_
42 #pragma GCC system_header
45 #include <boost/date_time/posix_time/posix_time.hpp>
46 #include <pcl/console/print.h>
61 tictic = boost::posix_time::microsec_clock::local_time ();
67 toctoc = boost::posix_time::microsec_clock::local_time ();
68 return (static_cast<double> ((toctoc - tictic).total_milliseconds ()));
74 double milliseconds =
toc ();
87 boost::posix_time::ptime tictic;
88 boost::posix_time::ptime toctoc;