|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-03-21 22:12:44
I agree that a high resolution timer is needed. One quick way to provide
this is just to use the various high resolution timers that already
exist... wrapping them with a common interface. And the best part is that
someone's already done this (in C). The Interval Performance Monitoring
(IPM) package does this. It is part of the PHiPAC high-speed matrix
multiplication package. IPM is portable to most unix's. Boostifying this
package could be a good place to start.
I've uploaded ipm-2.0.tar.gz to Files if anyone is interested.
Cheers,
Jeremy
On Wed, 21 Mar 2001 williamkempf_at_[hidden] wrote:
willia> While attempting to finalize the pthread implementation of
willia> Boost.Threads I ran into a small issue. The pthread-win32
willia> implementation uses the non-standard (i.e. language standard)
willia> timespec data type for the timed wait routines as per POSIX
willia> standards, but it does not provide any mechanisms to use this type.
willia> So, I had to add some platform specific code to allow Windows
willia> programmers to use a pthread implementation (not that I'd recommend
willia> that they do this, but it's the only way for me to develop pthread
willia> implementations at this moment). This got me to thinking about the
willia> lack of a portable way to do this sort of thing and was wondering if
willia> there'd be interest in such routines for Boost.
willia>
willia> I've found a web site (http://www.cl.cam.ac.uk/~mgk25/c-time/) with a
willia> proposal for ISO C 200x that may be a good starting point for such
willia> routines.
willia>
willia> Opinions/comments?
willia>
willia> Bill Kempf
willia>
willia>
willia> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
willia>
willia>
willia> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
willia>
willia>
willia>
----------------------------------------------------------------------
Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
Ph.D. Candidate email: jsiek_at_[hidden]
Univ. of Notre Dame work phone: (219) 631-3906
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk