Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: John P Williams <jpw@zk3.dec.com>
To: cdp2@engr.uark.edu
Subject: Re: Atom/gprof/hiprof/pixie
Date: 1999/01/20	[thread overview]
Message-ID: <36A5DDD4.86122C74@zk3.dec.com> (raw)
In-Reply-To: 78090a$d88$1@nnrp1.dejanews.com

Hi,

There is no tool or option in the DIGITAL UNIX Developers' Toolkit (or the
other UNIX programming tools offered by Compaq) that profiles real time,
at least not yet. You can manually insert calls to gettimeofday(), or you
can write your own atom tool to call it at every procedure call or return,
being careful not to instrument the system libraries and to write
thread-safe code.

Also note that multi-threaded programs are supported by the tools you mention 
only if those programs are linked with libpthread; that is, if they use
either the CMA or POSIX (pthread) interfaces to libpthread. Other 
implementations of pthreads are not supported by these tools.

	John P Williams

cdp2@engr.uark.edu wrote:
> 
>   I've got a multi-threaded (pthreads not DEC threads)application that makes
> extensive CORBA calls on adatabase to another box.  I've been trying to
> profile the client programusing atom/gprof/pixie but they all seem to record
> processor time, and notreal time. ...



  reply	other threads:[~1999-01-20  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-18  5:00 Atom/gprof/hiprof/pixie cdp2
1999-01-20  5:00 ` John P Williams [this message]
1999-01-25  5:00   ` Atom/gprof/hiprof/pixie Dave Butenhof
1999-01-20  5:00 ` Atom/gprof/hiprof/pixie Monty Brandenberg
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox