From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffc1e,65b66fb9d89b2a36,start X-Google-Attributes: gidffc1e,public X-Google-Thread: fee84,65b66fb9d89b2a36,start X-Google-Attributes: gidfee84,public From: Irv Lustig Subject: pre-thread CPU timers on Digital Unix 4.0 Date: 1997/01/14 Message-ID: <32DC0861.167E@dizzy.cplex.com>#1/1 X-Deja-AN: 209988170 content-type: text/plain; charset=us-ascii organization: CPLEX Optimization, Inc. mime-version: 1.0 newsgroups: comp.programming.threads,comp.unix.osf.osf1 x-mailer: Mozilla 3.0SC-SGI (X11; I; IRIX 5.3 IP20) We have a POSIX threads application that does a substantial, but variable, amount of computation in each thread. The application is meant for multiprocessor systems. I am interested in determining the amount of user CPU time spent in each thread, as opposed to the sum over all of the threads for the whole process, which is what times() returns. On Solaris systems, I can use the function _lwp_info() to determine the amount of CPU time spent on a per thread basis. Is there something equivalent for Digital Unix 4.0 ? Please respond via e-mail, as I am not regular readers of these 2 groups. I will summarize the answers that I receive. Thanks in advance for any help. -Irv Lustig, PhD irv@dizzy.cplex.com Director of Numerical Optimization http://www.cplex.com/~irv/ CPLEX Optimization, Inc. http://www.cplex.com/