time doesn't work?
Garrett Cooper
yanefbsd at gmail.com
Fri Feb 12 21:11:03 UTC 2010
On Fri, Feb 12, 2010 at 1:08 PM, Ryan Stone <rysto32 at gmail.com> wrote:
>>
>> [garrcoop at garrcoop-fbsd ~]$ time vim nose-plist-fix.diff
>>
>> # monkeyed around for a few seconds...
>>
>> real 0m5.753s
>> user 0m0.047s
>> sys 0m0.019s
>>
>> [garrcoop at 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. user and system time measure how
> much *cpu* time was used. In 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 at 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
More information about the freebsd-current
mailing list