From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22414 invoked by alias); 1 Jan 2007 04:24:48 -0000 Received: (qmail 22403 invoked by uid 22791); 1 Jan 2007 04:24:48 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 01 Jan 2007 04:24:37 +0000 Received: from farnswood.snap.net.nz (p202-124-124-28.snap.net.nz [202.124.124.28]) by viper.snap.net.nz (Postfix) with ESMTP id F3E793D823F; Mon, 1 Jan 2007 17:24:33 +1300 (NZDT) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id 5C674627ED; Mon, 1 Jan 2007 04:22:19 +0000 (GMT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17816.35962.759185.716466@farnswood.snap.net.nz> Date: Mon, 01 Jan 2007 04:24:00 -0000 To: Eli Zaretskii Cc: Vladimir Prus , mark.kettenis@xs4all.nl, gdb-patches@sources.redhat.com Subject: Re: [PATCH] MI: new timing command In-Reply-To: References: <17814.10139.269708.848818@kahikatea.snap.net.nz> <200612311609.kBVG9Fgh022431@brahms.sibelius.xs4all.nl> <200612311920.48710.ghost@cs.msu.su> X-Mailer: VM 7.19 under Emacs 22.0.50.58 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: 2007-01/txt/msg00008.txt.bz2 > > And lose user/system/elapse time distinction? > > You don't have to lose it. How about if we use getrusage directly if > it's available, else the libiberty replacement? That way, everybody > will be as happy as they can expect, I think. If we adopt this approach can you please explain to me how to interpret the output of get_run_time when getrusage is not availble so I can add it to the doc. > > For me, having all those times > > on Linux is more valuable than having any time at all on Windows. > > You are not the only user of GDB. -enable-timing would only be used by developers of frontends to GDB using MI. Currently Vladimir and myself do almost appear to be the only users. > There's no reason to gratuitously > confine features to the only platform that you are interested in. It not gratuitous because generalising it involves extra work in areas we don't understand. -- Nick http://www.inet.net.nz/~nickrob