38 #ifndef TERMINAL_TOOLS_TIME_H_
39 #define TERMINAL_TOOLS_TIME_H_
42 #pragma GCC system_header
46 #include <boost/date_time/posix_time/posix_time.hpp>
48 #include <pcl/console/print.h>
63 tictic = boost::posix_time::microsec_clock::local_time ();
69 toctoc = boost::posix_time::microsec_clock::local_time ();
70 return (static_cast<double> ((toctoc - tictic).total_milliseconds ()));
76 double milliseconds =
toc ();
89 boost::posix_time::ptime tictic;
90 boost::posix_time::ptime toctoc;
PCL_EXPORTS void print_value(const char *format,...)
Print a value message on stream with colors.
PCL_EXPORTS void print_info(const char *format,...)
Print an info message on stream with colors.