|
Boost Users : |
From: Mark Wyszomierski (markww_at_[hidden])
Date: 2007-11-06 10:24:39
Hi,
Do any of the boost timer methods allow elapsed time to be measured in
a separate thread? Something like:
int main()
{
boost_thread timer;
timer.Start();
while () {
// some timeout.
sleep(5000);
// check how much time has passed.
cout << timer.GetElapsedTime() << endl;
}
return 0;
}
Thanks
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