From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,40b68f397eda2387 X-Google-Attributes: gidfee84,public From: John P Williams Subject: Re: Atom/gprof/hiprof/pixie Date: 1999/01/20 Message-ID: <36A5DDD4.86122C74@zk3.dec.com>#1/1 X-Deja-AN: 434808209 Content-Transfer-Encoding: 7bit References: <78090a$d88$1@nnrp1.dejanews.com> To: cdp2@engr.uark.edu Content-Type: text/plain; charset=us-ascii Organization: Digital UNIX Development Environment, Compaq Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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. ...