Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.91.0.
boost::date_time::microsec_clock —
A clock providing microsecond level resolution.
template<typename time_type> class microsec_clock { public:   // types   typedef time_type::date_type         date_type;               typedef time_type::time_duration_type time_duration_type;      typedef time_duration_type::rep_type resolution_traits_type;   // public static functions   time_type local_time() ;   // private static functions   time_type create_time(timeval *) ;   time_type local_time() ;   time_type create_time(FILETIME &) ; };
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.
| Copyright © 2001-2004 CrystalClear Software, Inc |