[Toybox] [PATCH] Add "time -v".

enh enh at google.com
Fri Nov 17 12:18:55 PST 2017


i'm not super convinced by this myself, so more of an RFC...
specifically this was wanted for the "max rss" line, but it's not
obviously a good way to measure that for anything but simple
single-threaded/no-forking code (because of children).

On Fri, Nov 17, 2017 at 12:15 PM, enh <enh at google.com> wrote:
> This shows the other fields in getrusage. I've chosen to only show the
> ones actually maintained by Linux.
> ---
>  toys/posix/time.c | 23 +++++++++++++++++++----
>  1 file changed, 19 insertions(+), 4 deletions(-)



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.



More information about the Toybox mailing list