From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,512f7d621fc571f1 X-Google-Attributes: gidfee84,public From: morris@voile.zko.dec.com (Tom Morris) Subject: Re: want to profile multi-threaded osf1 program Date: 1995/08/17 Message-ID: <40u405$nvr@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 108281698 distribution: world references: organization: Digital Equipment Corp. keywords: profiling, pthreads reply-to: morris@zko.dec.com newsgroups: comp.unix.osf.osf1 In article , mes@aurora.jhuapl.edu (Mark Schmid) writes: |>We have been working on a project implemented on AXP machines |>running OSF/1 (now Digital Unix, though we haven't moved to 3.2) |>in which we have made liberal use of pthreads. We are at the |>traditional point of wanting to tune our application and have been |>frustrated in our attempts to use any of the normal profiling tools. I've done this in the past, but it was a while ago, so I don't remember the details. I think I ended up using gprof. If you set the environment variable PROFFLAGS to the string "-threads" it will generate per thread reports. Unfortunately, ATOM, which is much more powerful in general, doesn't support profiling of multithreaded programs yet, although I believe this will be remedied soon. --------------------------------------------------------------------------- Tom Morris Digital Equipment Corporation morris@zko.dec.com 110 Spit Brook Road ZKO1-1/E37 +1 603 881 0894 Nashua, NH, 03062 USA