From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27620 invoked by alias); 8 Dec 2007 06:48:08 -0000 Received: (qmail 27609 invoked by uid 22791); 8 Dec 2007 06:48:07 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 08 Dec 2007 06:48:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J0tTj-0007CF-Ls for gcc-help@gcc.gnu.org; Fri, 07 Dec 2007 22:47:59 -0800 Message-ID: <14226019.post@talk.nabble.com> Date: Sat, 08 Dec 2007 06:48:00 -0000 From: mahmoodn To: gcc-help@gcc.gnu.org Subject: Re: how to measure compilation time? In-Reply-To: <6491e1350712050243l1fc765c5ld56d7e166ee78cef@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nt_mahmood@yahoo.com References: <14168965.post@talk.nabble.com> <6491e1350712050243l1fc765c5ld56d7e166ee78cef@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00169.txt.bz2 > use /usr/bin/time "your compile command without quotes" for more info I use "/usr/bin/time make" and for the same program (I posted earlier) I got these information at the end of make: 288.03user 52.67system 6:37.84elapsed 85%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+362698minor)pagefaults 0swaps Are these numbers in second? I don't think that these numbers are equal to "-ftime-report"? What is wrong? Am I wrong? Thanks, satyaakam goswami wrote: > > On Dec 5, 2007 4:06 PM, mahmoodn wrote: >> >> How it is possible to measure compilation time in gcc? any macro, >> script... >> -- >> View this message in context: >> http://www.nabble.com/how-to-measure-compilation-time--tf4948712.html#a14168965 >> Sent from the gcc - Help mailing list archive at Nabble.com. > > use /usr/bin/time "your compile command without quotes" for more info > read the man page. > > hth > satya > > -- View this message in context: http://www.nabble.com/how-to-measure-compilation-time--tf4948712.html#a14226019 Sent from the gcc - Help mailing list archive at Nabble.com.