|
Boost : |
From: christopher diggins (cdiggins_at_[hidden])
Date: 2005-02-05 15:16:54
----- Original Message -----
From: "Hartmut Kaiser" <hartmutkaiser_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, February 05, 2005 11:11 AM
Subject: RE: [boost] Re: Re: Profiling Library suggestion
>
> christopher diggins wrote:
>
> Works currently on Windows only, but could be easily extended to work on
> Posix systems as well (using the Posix high resolution timers).
Thank you very much for sharing this Hartmut. I know nothing about Posix,
does anyone care to write and share a Posix version?
> The
> resolution is platform dependent because it currently uses the Windows
> high-resolution performance counters, which are based on the cycle rate of
> the processor clock. The attached implementation simply falls back to
> boost::timer when used on non-system platforms.
Great!
> Sure, why not? Maybe you want have a look at the Boost.Threads library,
> which uses a similar technique internally.
Thanks,
Christopher
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk