$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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