How can I get a difference between two DateTime intervals in micro and nano seconds?
-
@SGaist
Oh, I missed that, sorry.
For some reason all I thought was "pre Qt5.0 so it fits" . -
Hi
He is trying the boost chrono as @VRonin suggest but
im not sure building it with VS 2005 is great joy. ? :) -
@mrjj The current release uses C++11 but boost version 1.47.0 does not. I also think boost::chrono and std::chrono are the same thing
-
can i use chrono in VS 2005 , am unable to get nanoseconds is there anyway to get nanoseconds in vs 2005 & Qt 4.3.2
@srikanth As @VRonin said you can use Boost 1.47.0 (boost::chrono: https://theboostcpplibraries.com/boost.chrono).
-
@srikanth As @VRonin said you can use Boost 1.47.0 (boost::chrono: https://theboostcpplibraries.com/boost.chrono).
@jsulm i downloaded the boost.zip file from this link
[http://www.boost.org/users/history/version_1_63_0.html]unzip them and then add something like INCLUDEPATH += C:/boost/boost_1_63_0/ to my pro file , if i run this code then it is getting error like this "fatal error LNK1104: cannot open file 'libboost_chrono-vc80-mt-gd-1_63.lib' " so what can i do now ? to get this lib file .
-
@jsulm i downloaded the boost.zip file from this link
[http://www.boost.org/users/history/version_1_63_0.html]unzip them and then add something like INCLUDEPATH += C:/boost/boost_1_63_0/ to my pro file , if i run this code then it is getting error like this "fatal error LNK1104: cannot open file 'libboost_chrono-vc80-mt-gd-1_63.lib' " so what can i do now ? to get this lib file .
-
@jsulm i downloaded the boost.zip file from this link
[http://www.boost.org/users/history/version_1_63_0.html]unzip them and then add something like INCLUDEPATH += C:/boost/boost_1_63_0/ to my pro file , if i run this code then it is getting error like this "fatal error LNK1104: cannot open file 'libboost_chrono-vc80-mt-gd-1_63.lib' " so what can i do now ? to get this lib file .
-
QueryPerformanceCounter is giving microseconds
but not in exactly
i have one doubt in this
please check my code once
https://paste.ofcode.org/gg6d6ESDmJHDkxxQmkUkbN