From owner-freebsd-hackers Tue Mar 27 14:53:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.yadt.co.uk (yadt.demon.co.uk [158.152.4.134]) by hub.freebsd.org (Postfix) with SMTP id 52CE737B718 for ; Tue, 27 Mar 2001 14:53:26 -0800 (PST) (envelope-from davidt@yadt.co.uk) Received: (qmail 5254 invoked from network); 27 Mar 2001 22:53:24 -0000 Received: from gattaca.local.yadt.co.uk (HELO mail.gattaca.yadt.co.uk) (qmailr@10.0.0.2) by xfiles.yadt.co.uk with SMTP; 27 Mar 2001 22:53:24 -0000 Received: (qmail 61345 invoked by uid 1000); 27 Mar 2001 22:53:24 -0000 Date: Tue, 27 Mar 2001 23:53:24 +0100 From: David Taylor To: freebsd-hackers@FreeBSD.ORG Subject: Re: crash dump speed up patch. Message-ID: <20010327235324.A60690@gattaca.yadt.co.uk> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20010327135341.I9431@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gersh@sonn.com on Tue, Mar 27, 2001 at 14:20:02 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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