home *** CD-ROM | disk | FTP | other *** search
- From: ferdo@neabbs.UUCP (FERDINAND OEINCK)
- Subject: execution time profiling
- Date: 10 Jun 90 02:50:41 GMT
- Organization: NEABBS multi-line BBS +31-20-717666 (13x), Amsterdam, Holland
-
-
-
- For all Archimedes C programmers outthere.
-
- The Norcroft RISCOS ARM C compiler does support
- profiling if you specify the -p[x] option on the
- commandline. You get a nice list of count values
- for every function or block. For optimising purposes
- you can pay attention to the function which is called
- most.
-
- But far more interesting is if you know how much time
- is spent in one particular function. A future release
- of the C compiler could have this feature as mentioned
- in the manual. But I had no time to wait and wrote my
- own execution time profiler which I include at the end
- of this message (uuencoded, sparked).
-
- It is simple to use and works also in the WIMP
- environment. When your program uses floating point
- arithmetic the total time spent in the fpemulator
- will also be shown (my raytracer spends 92% of its
- time in the fpemulator code, I need an ARM 4 !!!!).
-
- Ferdinand Oeinck
- Javalaan 25
- 9715 GP Groningen
- The Netherlands
- tel ++31(0)50732202
- email: hp4nl!neabbs!ferdo
-
-