Date: Mon, 31 Jul 2000 14:32:11 +0200 (CEST) From: Mikko Tyolajarvi <mikko@dynas.se> To: bjorn@tornqvist.net Cc: freebsd-questions@freebsd.org Subject: Re: Howto profile my code? Message-ID: <200007311232.OAA45213@m2.dynas.se> References: <39855E20.37377FF5@tornqvist.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd-hackers Bjorn Tornqvist <bjorn@tornqvist.net> wrote: >Anyone know a working method to get profiling to work? (i.e. seeing >something like "method a::getValue() spent 12s Usertime, 3s Kerneltime" >etc). Dunno about C++, but with plain 'ol C I would use "cc -pg" and "gprof". Requires profiling libraries to be installed (/usr/lib/lib*_p.a), i.e. the "proflibs" distribution. This probably belongs to -questions. $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007311232.OAA45213>