Page 1 of 1

Re: [Nagios-devel] Silly precision in a timing macros

Posted: Thu Oct 28, 2004 2:47 pm
by Guest
Thanks - patch will be in CVS shortly.



On 26 Oct 2004 at 17:56, Andreas Ericsson wrote:

> The precision provided by timing macros (for latency and executin
> times) are a bit silly, since it holds room for 6 decimal points but
> only ever uses 3 of them (a limit in the Linux kernel, I've heard).
>
> The attached patch takes care of that, and also fixes a couple of
> warnings (use of 'l' length character with 'f' type character) for
> those selfsame macros.
>
> In the passing, it removes an unused variable (encoded_buffer) from
> process_macros, and fixes the above error message for a couple of
> debug printlines in config.c.
>
> To apply only the precision part, remove the first files'
> (base/config.c) hunks entirely and remove the first hunk from the
> second file (base/utils.c).
>
> On a side-note, I'm really glad development seems to have taken a huge
> leap forward again.
>
> --
> Andreas Ericsson [email protected]
> OP5 AB www.op5.se
> Lead Developer
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]