Article View: gnu.gcc.help
Article #49682Is anybody working on profiling code in gcc?
From: Darren Bock
Date: Thu, 13 Jan 1994 19:41
Date: Thu, 13 Jan 1994 19:41
37 lines
2250 bytes
2250 bytes
As far as I am aware gcc has an option (possibly -a) to allow line-by-line execution count information to be collected. However I remember that this information was not in a format for existing programs to read. The two programs I know about that do a similar job are tcov (on SunOS) and lprof (under SVr4). With appropriate compilation options raw data is created from a program run which is then processed. I am interested in 1) Does the Gnu stuff already work with one or both of these programs. (I don't think it does). 2) Does anybody have an interest in getting it working OR is anyone currently working on this As some justification for the effort involved, after regular profiling using prof and/or gprof. I then used lprof to determine which lines of large single functions were executed many times. The routines that showed up with high usage were then examined and in some cases a further speedup of 20% was achieved I am just interested as it would be a nice thing to have with gcc. Unfortunately I do not have the time to look for this and do it myself as I have other commitments. --- Darren Bock Snail: Department of Employment Vocational Education sysdeb@devetir.qld.gov.au Unix Support, ITB, 1st Floor Forbes House Ph: +61 7 227 5726 c/- GPO Box 69 Brisbane, Qld, Australia, 4001 -- Darren Bock Snail: Department of Employment Vocational Education sysdeb@devetir.qld.gov.au Unix Support, ITB, 1st Floor Forbes House Ph: +61 7 227 5726 c/- GPO Box 69 Brisbane, Qld, Australia, 4001
Technical Details
Message-ID:
<gnusenetsysdeb.758435986@pandora>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!devetir.qld.GOV.AU!sysdebShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8c876b2ebaa3d8e0 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-13 17:38:24 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!devetir.qld.GOV.AU!sysdeb From: sysdeb@devetir.qld.GOV.AU (Darren Bock) Newsgroups: gnu.gcc.help Subject: Is anybody working on profiling code in gcc? Date: 13 Jan 1994 14:41:26 -0500 Organization: DEVETIR, QLD, AUSTRALIA Lines: 38 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <gnusenetsysdeb.758435986@pandora> Summary: Additional profiling information Keywords: profiling