[Developers] Proposed Cactus Timer API Completion

Erik Schnetter schnetter at aei.mpg.de
Tue Aug 3 08:40:51 CDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 03 August 2004 14:54, Steve White wrote:
> The existing API for Cactus Timers provides accessors for Timers, but
> peters out when it comes to getting information for a particular
> clock within a timer value.  The interface consists of a structure
> definition (see Chapter B10.1 of the Users' Guide).
>
> There is something a bit wrong-headed about the existing clock
> structure. It records information as a type that is convenient for
> the low-level timer (as an int, long, or double), although the user
> invariably wants the time period in seconds.  There are outstanding
> bug reports to this effect.
>
> Accordingly, I propose to add the following functions to the Timer
> API:

[schnipp]

This looks very good.  I could imagine that one additionally wants a 
function that reports the granularity of the timer.

- -erik

- -- 
Erik Schnetter <schnetter at aei.mpg.de>   http://www.aei.mpg.de/~eschnett/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBD5Xjm3uiSwno3f0RAlwWAJ9tYUbQFLP5iRPBAwqFQj+yuMAtbACgrFle
8h4NnKjEFe7pcdr3DUL73j8=
=uLzA
-----END PGP SIGNATURE-----





More information about the Developers mailing list