From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15760 invoked by alias); 20 Jan 2007 17:27:47 -0000 Received: (qmail 15752 invoked by uid 22791); 20 Jan 2007 17:27:47 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 20 Jan 2007 17:27:42 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-199-87.inter.net.il [80.230.199.87]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GXF60899 (AUTH halo1); Sat, 20 Jan 2007 19:27:41 +0200 (IST) Date: Sat, 20 Jan 2007 17:27:00 -0000 Message-Id: From: Eli Zaretskii To: Nick Roberts CC: gdb-patches@sources.redhat.com In-reply-to: <17836.26941.915573.399839@kahikatea.snap.net.nz> (message from Nick Roberts on Tue, 16 Jan 2007 18:57:17 +1300) Subject: Re: [PATCH] MI: new timing command Reply-to: Eli Zaretskii References: <17814.10139.269708.848818@kahikatea.snap.net.nz> <17814.58031.865155.682869@kahikatea.snap.net.nz> <20061231042547.GA3236@nevyn.them.org> <17815.18190.987950.612053@kahikatea.snap.net.nz> <20061231054946.GA4873@nevyn.them.org> <17815.27092.497145.908734@kahikatea.snap.net.nz> <20061231151527.GC16449@nevyn.them.org> <200612311524.kBVFObud010411@brahms.sibelius.xs4all.nl> <200612311609.kBVG9Fgh022431@brahms.sibelius.xs4all.nl> <17816.34925.514170.51734@farnswood.snap.net.nz> <17817.34304.221915.628057@kahikatea.snap.net.nz> <17836.26941.915573.399839@kahikatea.snap.net.nz> 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/msg00417.txt.bz2 > From: Nick Roberts > Date: Tue, 16 Jan 2007 18:57:17 +1300 > Cc: mark.kettenis@xs4all.nl, ghost@cs.msu.su, > gdb-patches@sources.redhat.com > > > > OK, this patch gives wallclock, user and system time in the output. > > > In the case when getrusage is not available it the output of get_run_time > > > is used for the wallclock field and user and system time are given as 0.0. > > > > Thanks. > > > > > Can you please test it for this latter case? > > > > Will do, but it could take me a few days before I have enough free > > time to try the patch. > > Any progress? I tried, but unfortunately, I cannot compile the patched version. It seems like at least one part of your patch was never sent to the list: * mi/mi-parse.h: Include if present. (mi_timestamp): New structure. (mi_parse): Add mi_timestamp* member. Without this, mi-main.c doesn't compile, because it misses the definition of the mi_timestamp structure.