[procps] Re: [PATCH] top : use clock_gettime() instead of gettimeofday()

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Sun, 13 Apr 2014 11:09:57 -0500

On Apr 12, 2014, at 4:06 PM, Jim Warner <james.warner@xxxxxxxxxxx> wrote:
> Let’s hear some votes please.
> 
> 1) keep top as is, potentially showing negative %CPU
> 2) always display an empty column, regardless of zero suppression

Hi All,

I'm glad the polls have apparently not yet opened because I have a third choice:
  3) eliminate the possibility of a negative elapsed time

In an effort to influence your votes, I’ve attached a recommended patch.

Thanks in advance.

Regards,
Jim

Attachment: 0001-top-protect-against-distortion-when-system-time-rese.patch.gz
Description: GNU Zip compressed data


Other related posts: