zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Baptiste Daroussin <baptiste.daroussin@gmail.com>
Cc: Peter Stephenson <p.stephenson@samsung.com>,
	Zsh workers <zsh-workers@zsh.org>
Subject: Re: time builtin vs. time(1): difference in memory numbers
Date: Mon, 17 Oct 2016 19:49:18 +0000	[thread overview]
Message-ID: <20161017194918.GA31528@fujitsu.shahaf.local2> (raw)
In-Reply-To: <CAPKC6oLGksOt8QUf9NS-OBFtMYJzvN9Qk9C=_rrANkE4-HbfzQ@mail.gmail.com>

Baptiste Daroussin wrote on Mon, Oct 17, 2016 at 18:27:59 +0200:
> 2016-10-17 10:47 GMT+02:00 Peter Stephenson <p.stephenson@samsung.com>:
> > On Sun, 16 Oct 2016 20:29:23 +0200
> > Baptiste Daroussin <baptiste.daroussin@gmail.com> wrote:
> >> I would like to revive this thread as we are having this patch in
> >> FreeBSD for a while now.
> >>
> >> https://people.freebsd.org/~bapt/getrusage.diff
> >>
> >> What would be the next step to get it upstream (and modified if needed?)
> >
> > The safest way would probably be #ifdef's for Free BSD, unless someone
> > is going to do a wider investigation into variant system behaviour.
> >
> > The "long clktck" declaration needs to go with the declarations at the
> > top.
> >
> > pws
> 
> I think the ru_maxrss part is valid for linux as well. (unsure)

On Debian stable, getrusage(2) sas:

       ru_maxrss (since Linux 2.6.32)
              This is the maximum resident set size used (in kilobytes).  For
              RUSAGE_CHILDREN, this is the resident set size of the largest
              child, not the maximum resident set size of the process tree.


  reply	other threads:[~2016-10-17 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <868w06l3cq.fsf@gmail.com>
     [not found] ` <101204102844.ZM5983@torch.brasslantern.com>
     [not found]   ` <86tyisv48o.fsf@gmail.com>
     [not found]     ` <101205055913.ZM32440@torch.brasslantern.com>
2010-12-05 18:25       ` Anonymous
2016-10-16 18:29         ` Baptiste Daroussin
2016-10-17  8:47           ` Peter Stephenson
2016-10-17 16:27             ` Baptiste Daroussin
2016-10-17 19:49               ` Daniel Shahaf [this message]
2016-10-18 10:56                 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161017194918.GA31528@fujitsu.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=baptiste.daroussin@gmail.com \
    --cc=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).