From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,40b68f397eda2387,start X-Google-Attributes: gidfee84,public From: cdp2@engr.uark.edu Subject: Atom/gprof/hiprof/pixie Date: 1999/01/18 Message-ID: <78090a$d88$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 434111423 X-Http-Proxy: 1.1 x14.dejanews.com:80 (Squid/1.1.22) for client 206.31.111.18 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Jan 18 21:27:51 1999 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) 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. For example, if a thread on the client makes a CORBA call, It sleeps until the server sends sends a reply. However, no CPU cycles are spent on this function but (to my guess) there is much time waiting for the call to return. What I'm trying to find out is where the program is spending the most "time" as opposed to the most "cpu cycles" or the number of times a function was called. Is there a profiling tool/option that basically does: time (&this_function_starttime) do_this_function() time (&this_function_stoptime) record_statistics_for_this_function() etc .... Thanks -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own