
14 Apr
2010
14 Apr
'10
4:46 p.m.
Hi, forgive me for asking the obvious, but I fail to see how to get timing information from the thread_clock? I can call thread_clock::now() to get time_point objects, e.g. boost::chrono::thread_clock threadClock; boost::chrono::thread_clock::time_point start = threadClock.now(); [...] boost::chrono::thread_clock::time_point end = threadClock.now(); But how do I get to the actual CPU milliseconds (or other units?) used by the current thread between end and start? Thanks and regards, Roland