Subj : Re: Per thread cpu-usage on Linux To : comp.programming.threads From : Christian Panten Date : Fri Feb 18 2005 06:22 pm David Schwartz wrote: >> 1. Does anyone know how I can calculate the cpu-time of single thread? >> Reading the cpu time from /proc/... is not a satisfactory solution for >> me. > > Why? That's the solution on Linux. > > DS I have posted a similar question to the comp.unix.programmer newsgroup. In this newsgroup I have posted some c++-code to test the overhead of the time calculation by using the proc-filesystem to get the used cpu-time per thread. Message-ID: Best regards Christian .