Check out the prof(1), and gprof(1) manuals, as well as the -p and -pg options of cc(1). That should give you what you want. I use gprof(1) personally. -------------------------------------------- James Buster Mad Hacker Extraordinaire ...!{sun,decwrl}!pyramid!vsi1!bitbug --------------------------------------------