From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26776 invoked by alias); 16 Jun 2004 23:48:16 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 26768 invoked from network); 16 Jun 2004 23:48:16 -0000 Received: from unknown (HELO masquerade.micron.com) (137.201.242.130) by sourceware.org with SMTP; 16 Jun 2004 23:48:16 -0000 Received: from mail-srv2.micron.com (localhost [127.0.0.1]) by masquerade.micron.com (8.12.9/8.12.2) with ESMTP id i5GNmO8l014191 for ; Wed, 16 Jun 2004 17:48:24 -0600 (MDT) Received: from ntxboimbx07.micron.com (ntxboimbx07.micron.com [137.201.80.94]) by mail-srv2.micron.com (8.12.9/8.12.2) with ESMTP id i5GNmNgA014186; Wed, 16 Jun 2004 17:48:23 -0600 (MDT) From: lrtaylor@micron.com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: newbiew at gcc argument Date: Wed, 16 Jun 2004 23:48:00 -0000 Message-ID: <363801FFD7B74240A329CEC3F7FE4CC403095E3E@ntxboimbx07.micron.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: To: , X-Scanned-By: MIMEDefang 2.37 X-SW-Source: 2004-06/txt/msg00170.txt.bz2 Look at the -p and -pg arguments to gcc/g++. However, you'll also need to look at prof or gprof, because you'll need one of those programs to analyze the profiling data. Thanks, Lyle -----Original Message----- From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of Marcelo Roitburd Sent: Wednesday, June 16, 2004 4:25 PM To: gcc help Subject: newbiew at gcc argument Hi All! I'm a newbiew , i try to make a search in internte and don't found maybe i=20 can't make a good serach.my question is how in g++ or gcc i can make a=20 profile of each funtion used in the code, this mean is how much time i=20 spend in each function. I know that i can do by argument, i don't want to write every entrey=20 funtion time and every out funtion time.. anyone have some ideia? thank you marcelo