|
Boost Users : |
From: Jeff Foster (jfoster_at_[hidden])
Date: 2008-07-23 11:44:36
> I've been struggling with how to use the Date_Time library to
> measure time elapsed (like to measure how long code takes to execute).
>
> Could somebody provide me with an example? Resolution should
> be around msec. I could not find any in the reference that
> particularly addresses this.
See the boost::timer class
http://www.boost.org/doc/libs/1_35_0/libs/timer/index.html
Thanks
Jeff
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