Re: UDB speed comparison
Linus Torvalds (torvalds@cs.helsinki.fi)
Thu, 26 Sep 1996 08:13:51 +0300 (EET DST)
On Wed, 25 Sep 1996, Dan Merillat wrote:
> >
> > [torvalds@ev5 torvalds]$ time a.out > /dev/null
> > Command had non-zero exit status 13
> > 3.97user 0.00system 0:04.02elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
> > 0inputs+0outputs (71major+18minor)pagefaults 0swaps
>
> > (ev5/333, and I don't expect to win this either, but I enjoy beating cray's
> > with my home machine ;)
>
> Did you beat the cray? Looks like you got a quick error there...
>
> Unless it was supposed to come back with a non-zero error code.
The program was badly coded: "main()" doesn't have any return statement at
all, so it returns some random value (actually, I think it returns the return
value of the last "printf()" call, so it's probably not so much random as
always 13 with that particular compiler and those switches).
Linus