
----- Original Message ----- From: "Hartmut Kaiser" <hartmutkaiser@t-online.de> To: <boost@lists.boost.org> 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