From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 08:32:27 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DAD916A41C for ; Wed, 22 Jun 2005 08:32:27 +0000 (GMT) (envelope-from peter.harrison@dwp.gsi.gov.uk) Received: from mail89.messagelabs.com (mail89.messagelabs.com [194.106.220.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 0AC3A43D48 for ; Wed, 22 Jun 2005 08:32:26 +0000 (GMT) (envelope-from peter.harrison@dwp.gsi.gov.uk) X-VirusChecked: Checked X-Env-Sender: peter.harrison@dwp.gsi.gov.uk X-Msg-Ref: server-11.tower-89.messagelabs.com!1119429144!2526455!1 X-StarScan-Version: 5.4.15; banners=dwp.gsi.gov.uk,-,- X-Originating-IP: [62.25.106.208] Received: (qmail 14173 invoked from network); 22 Jun 2005 08:32:24 -0000 Received: from unknown (HELO mx.hosting-w.gsi.gov.uk) (62.25.106.208) by server-11.tower-89.messagelabs.com with SMTP; 22 Jun 2005 08:32:24 -0000 content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Wed, 22 Jun 2005 09:29:59 +0100 Message-Id: Thread-Topic: -DNOPROFILE with make buildworld... Thread-Index: AcV2i+fO4mQmj8AQTPq7EcMjEfwPWAAdD7YAAAERA6A= From: "Harrison Peter CSA BIRKENHEAD" To: X-OriginalArrivalTime: 22 Jun 2005 08:29:58.0737 (UTC) FILETIME=[93743C10:01C57704] MIME-Version: 1.0 (Generated by Clearswift ES version 4.8.1.149) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: RE: -DNOPROFILE with make buildworld... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2005 08:32:27 -0000 >=20-----Original=20Message----- >=20From:=20Roland=20Smith=20[mailto:rsmith@xs4all.nl] >=20Sent:=2021=20June=202005=2019:07 >=20To:=20Harrison=20Peter=20CSA=20BIRKENHEAD >=20Cc:=20freebsd-questions@freebsd.org >=20Subject:=20Re:=20-DNOPROFILE=20with=20make=20buildworld... >=20 >=20 >=20On=20Tue,=20Jun=2021,=202005=20at=2001:49:06PM=20+0100,=20Harrison=20P= eter=20CSA=20 >=20BIRKENHEAD=20wrote: >=20 >=20>=20I've=20cvsup'ed=20my=20source=20tree,=20and=20stepping=20through=20= the=20 >=20instructions=20in >=20>=20the=20handbook=20I=20note=20that=20it=20recommends=20running=20mak= e=20buildworld=20with >=20>=20-DNOPROFILE=20(or=20specifying=20it=20in=20make.conf).=20I'm=20not= =20clear=20what=20the >=20>=20impact=20of=20running=20profiled=20libraries=20is=20against=20non-= profiled >=20>=20libraries.=20I've=20done=20a=20quick=20search=20via=20google=20and= =20through=20the=20list >=20>=20archives=20without=20success. >=20 >=20It's=20not=20about=20profiled=20libraries,=20but=20profiling=20librari= es.=20 >=20Let=20me=20explain. >=20 >=20Programs=20that=20are=20compiled=20with=20profiling=20enabled=20gather= =20data=20about >=20their=20run-time=20behaviour,=20and=20write=20that=20to=20a=20file,=20= usualy=20 >=20gmon.out.=20If >=20the=20program=20is=20linked=20to=20a=20profiling=20library,=20data=20a= bout=20the=20 >=20time=20spent >=20running=20functions=20in=20that=20library=20are=20also=20recorded. >=20 >=20The=20contents=20of=20that=20file=20can=20be=20analyzed=20with=20the=20= gprof=20 >=20program,=20to=20see >=20where=20the=20program=20spends=20its=20time. >=20 >=20Now=20if=20you=20compile=20a=20program=20with=20not-profiling=20librar= ies,=20 >=20gprof=20cannot >=20tell=20you=20much=20about=20the=20time=20your=20program=20spent=20in=20= functions=20 >=20in=20that=20library. OK=20that=20makes=20sense=20now=20I=20think=20-=20it's=20basically=20an=20= optimisation=20tool? Thanks=20for=20the=20explanation.=20I=20don't=20imagine=20needing=20this=20= at=20the=20moment so=20noprofile=20looks=20like=20the=20correct=20option=20for=20me. >=20 >=20Programs=20that=20have=20been=20compiled=20with=20profiling=20enabled=20= might=20run >=20fractionally=20slower=20that=20without.=20But=20I=20doubt=20the=20diff= erence=20is >=20significant=20on=20a=20modern=20machine.=20 >=20 >=20I'll=20be=20bold=20and=20say=20that=20modern=20machines=20are=20so=20f= ast=20that=20there=20is >=20seldom=20need=20to=20profile=20a=20program. The=20machine=20in=20question=20is=20running=20on=20an=20Athlon=20XP=20180= 0+=20so=20it's=20not that=20fast=20(or=20modern=20for=20that=20matter),=20but=20I=20take=20your= =20point. >=20 >=20Roland >=20--=20 >=20R.F.Smith=20(http://www.xs4all.nl/~rsmith/)=20Please=20send=20e-mail=20= >=20as=20plain=20text. >=20public=20key:=20http://www.xs4all.nl/~rsmith/pubkey.txt >=20 Thanks=20again, Peter=20Harrison ----------------------------------------------------------------------- This=20document=20is=20strictly=20confidential=20and=20is=20intended=20onl= y=20for=20use=20by=20the=20addressee.=20 If=20you=20are=20not=20the=20intended=20recipient,=20any=20disclosure,=20c= opying,=20distribution=20or=20other=20 action=20taken=20in=20reliance=20of=20the=20information=20contained=20in=20= this=20e-mail=20is=20strictly=20prohibited. Any=20views=20expressed=20by=20the=20sender=20of=20this=20message=20are=20= not=20necessarily=20those=20of=20the=20Department=20 for=20Work=20and=20Pensions. If=20you=20have=20received=20this=20transmission=20in=20error,=20please=20= use=20the=20reply=20function=20to=20tell=20us=20 and=20then=20permanently=20delete=20what=20you=20have=20received. Please=20note:=20Incoming=20and=20outgoing=20e-mail=20messages=20are=20rou= tinely=20monitored=20for=20compliance=20 with=20our=20policy=20on=20the=20use=20of=20electronic=20communications.=20= The=20original=20of=20this=20email=20was=20scanned=20for=20viruses=20by=20= the=20Government=20Secure=20Intranet=20(GSi)=20virus=20scanning=20service=20= supplied=20exclusively=20by=20Energis=20in=20partnership=20with=20MessageL= abs. On=20leaving=20the=20GSi=20this=20email=20was=20certified=20virus-free