Le 22/05/12 18:55,
Wilfried Kirschenmann a écrit :
Dear chrono maintainer team,
I run boost 1.49 win32 on Windows 7 x64 with Visual
studio 2010.
Studying the behavior of the timer, I think that the
error is one of these :
- process_real_cpu_clock::now() only stores the
current time in a 32 bit integer instead of a 64 bit
integer
I don't know from where are you getting this conclusion.
process_real_cpu_clock is using boost::int_least64_t, as
representation.
typedef duration<boost::int_least64_t, nano>
nanoseconds; // at least 64 bits needed
class BOOST_CHRONO_DECL process_real_cpu_clock {
public:
typedef nanoseconds
duration;
typedef duration::rep rep;
typedef duration::period period;
typedef
chrono::time_point<process_real_cpu_clock>
time_point;
BOOST_STATIC_CONSTEXPR bool is_steady =
true;
static BOOST_CHRONO_INLINE time_point now()
BOOST_NOEXCEPT;
#if !defined BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING
static BOOST_CHRONO_INLINE time_point
now(system::error_code & ec );
#endif
};