Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2010 13:11:03 -0800
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, d@delphij.net
Subject:   Re: time doesn't work?
Message-ID:  <7d6fde3d1002121311p579a5762j5cdbb223623b34fc@mail.gmail.com>
In-Reply-To: <bc2d971002121308m2eb78db1o335ad20a0208e5e4@mail.gmail.com>
References:  <4B75A801.3040107@delphij.net> <7d6fde3d1002121241s45f1ba5dtb305ebe8f2beb15@mail.gmail.com> <4B75BFD7.6050107@delphij.net> <7d6fde3d1002121302s6ae32cbar4a1c8fa6a36e4aeb@mail.gmail.com> <bc2d971002121308m2eb78db1o335ad20a0208e5e4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 12, 2010 at 1:08 PM, Ryan Stone <rysto32@gmail.com> wrote:
>>
>> [garrcoop@garrcoop-fbsd ~]$ time vim nose-plist-fix.diff
>>
>> # monkeyed around for a few seconds...
>>
>> real =A0 =A00m5.753s
>> user =A0 =A00m0.047s
>> sys =A0 =A0 0m0.019s
>>
>> [garrcoop@garrcoop-fbsd ~/ipcvs/freebsd/src]$ time -p vim
>>
>> # pattered around for a few more seconds...
>>
>> real 12.04
>> user 0.07
>> sys 0.03
>>
>
> I'm not sure that this means much. =A0user and system time measure how
> much *cpu* time was used. =A0In an interactive application like vi I
> think that it's expected behaviour to see so little cpu time spent.

Yeah... you're probably right...

[garrcoop@garrcoop-fbsd ~]$ time sh -c 'while [ 1 ] ; do : ; done'
^C

real	0m3.337s
user	0m3.325s
sys	0m0.000s

Thanks for noting the obvious :),
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d1002121311p579a5762j5cdbb223623b34fc>