*BSD News Article 53742


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!swrinde!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!info-server.bbn.com!news.bbn.com!rsastry
From: rsastry@BBN.COM (Ravi Sastry)
Newsgroups: comp.unix.programmer,comp.unix.bsd.misc
Subject: profiling real time code. how to do it?
Followup-To: comp.unix.programmer
Date: 31 Oct 1995 18:19:50 GMT
Organization: BBN Systems & Technologies, Cambridge, MA
Lines: 24
Distribution: world
Message-ID: <RSASTRY.95Oct31131950@nagumomu.BBN.COM>
NNTP-Posting-Host: nagumomu.bbn.com
Xref: euryale.cc.adfa.oz.au comp.unix.programmer:30070 comp.unix.bsd.misc:300


Hi folks

We have a piece of real-time software which we would like to profile.
I was wondering if anybody out there can give information on

   - whether I can use gprof in some way (by hacking it a bit) to perform
     profiling of real-time code

   - are there any publicly available tools that provide this kinda 
     functionality (without having to use any special compilers. We
     *have* to use gcc here)

I am also looking for program notes of gprof to find out how it is implemented.
The paper on gprof (Software practice and experience Vol 13,1983) doesn't
go into the details of implementation.

Any input in this direction is greatly appreciated. Please send your replies
by e-mail to rsastry@BBN.COM.

thank you.

ravi/