|
Boost Users : |
Subject: [Boost-users] [Chrono]
From: Roland Bock (rbock_at_[hidden])
Date: 2010-04-14 12:46:54
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net