
16 Jun
2008
16 Jun
'08
3:53 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 16 June 2008 10:45 am, clemix wrote:
Can someone help me? Or is it my gcc version? Or is there an other nice to use os independent timer in boost?
It's because boost::timer isn't os independent. It uses std::clock, which returns CPU time on Linux, as opposed to returning wall time (which seems to be what you want) on Windows. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIVoyY5vihyNWuA4URAjcpAKDpQtJV+wIL9zKrVbmBT9pXigwGwACcDmuG X/wgRKjGIQgpqsDIJmirdj0= =GE9t -----END PGP SIGNATURE-----