bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: time-1.7 counts rusage wrong on Linux


From: David C Niemi
Subject: Re: time-1.7 counts rusage wrong on Linux
Date: Sat, 16 Feb 2013 12:24:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Hello Thomas,

I think I have a patch for this lying around somewhere. I will take care of it in the next release.

DCN

On 02/15/2013 04:25 PM, Thomas Bushnell, BSG wrote:
time-1.7 converts rusage values from page size units to K, unconditionally,
but this is wrong at least on Linux, where they are already reported in K.
That results in time printing out values that are four times too big.

The source contains the comment "Note: Some machines express getrusage
statistics in terms of K, others in terms of pages." but has no actual code
that attempts to tell or ever works for those "some machines".

Thoughts?

Please keep me in the reply list on replies; I'm not subscribed to
bug-gnu-utils.

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]