From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13709 invoked by alias); 31 Dec 2006 19:29:29 -0000 Received: (qmail 13701 invoked by uid 22791); 31 Dec 2006 19:29:29 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 31 Dec 2006 19:29:24 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H16Mv-00065k-0G; Sun, 31 Dec 2006 14:29:17 -0500 Date: Sun, 31 Dec 2006 19:29:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: Mark Kettenis , gdb-patches@sources.redhat.com Subject: Re: [PATCH] MI: new timing command Message-ID: <20061231192916.GA23327@nevyn.them.org> Mail-Followup-To: Vladimir Prus , Mark Kettenis , gdb-patches@sources.redhat.com References: <17814.10139.269708.848818@kahikatea.snap.net.nz> <200612311609.kBVG9Fgh022431@brahms.sibelius.xs4all.nl> <200612311920.48710.ghost@cs.msu.su> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612311920.48710.ghost@cs.msu.su> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00417.txt.bz2 On Sun, Dec 31, 2006 at 07:20:48PM +0300, Vladimir Prus wrote: > On Sunday 31 December 2006 19:09, Mark Kettenis wrote: > > > > Is this important? This timing is entirely for diagnostic purposes, > > > so why try to make it work on every possible platform. We need to document > > > that -enable-timing may fail, and that's it. > > > > The point is to use get_run_time() from -liberty and never worry about > > portability again. > > And lose user/system/elapse time distinction? For me, having all those times > on Linux is more valuable than having any time at all on Windows. No because > Windows is not important, but because I doubt there are any plantform specific > MI slowdowns. I really don't think the divided times are going to be useful. But then, I probably won't be the one using them. If you would prefer to maintain the distinction between system time and user time, then I withdraw my objection. -- Daniel Jacobowitz CodeSourcery