Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 23:53:24 +0100
From:      David Taylor <davidt@yadt.co.uk>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: crash dump speed up patch.
Message-ID:  <20010327235324.A60690@gattaca.yadt.co.uk>
In-Reply-To: <Pine.BSF.4.21.0103271415540.26315-100000@tabby.sonn.com>; from gersh@sonn.com on Tue, Mar 27, 2001 at 14:20:02 -0800
References:  <20010327135341.I9431@fw.wintelcom.net> <Pine.BSF.4.21.0103271415540.26315-100000@tabby.sonn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Mar 2001, Gersh wrote:
> > it could be replaced with:
> > 
> > if (count % 10)
> > 	printf("%d ", count);
> > 
> that acutally gives alot more output,  The basic idea was
> to only print out when it got to certian increments 10, 20
> Mainly becasue of the problem with serial connections :/

How about

if (!(count % 10))
    printf("%d ", count);

So it'd only print every 10..

(Which I think is what was originally intended)

-- 
David Taylor
davidt@yadt.co.uk

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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