![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::microsec_clock — A clock providing microsecond level resolution.
// In header: <boost/date_time/microsec_time_clock.hpp> template<typename time_type> class microsec_clock { public: // types typedef ; typedef ; typedef ; // public static functions template<typename time_zone_type> (); (); (); // private static functions (); (); };
A high precision clock that measures the local time at a resolution up to microseconds and adjusts to the resolution of the time system. For example, for the a library configuration with nano second resolution, the last 3 places of the fractional seconds will always be 000 since there are 1000 nano-seconds in a micro second.