Re: Measuring cpu time using getrusage

2007-02-17 Thread Tim Schmielau
On Wed, 14 Feb 2007, Johann Schuster wrote: > currently i'm trying to measure the cpu times for > numerical algorithms written in C using two calls of > getrusage() and then calculating the time difference. > > According to the man page of getrusage i looked at the > user time of my process.

Re: Measuring cpu time using getrusage

2007-02-17 Thread Tim Schmielau
On Wed, 14 Feb 2007, Johann Schuster wrote: currently i'm trying to measure the cpu times for numerical algorithms written in C using two calls of getrusage() and then calculating the time difference. According to the man page of getrusage i looked at the user time of my process.

Measuring cpu time using getrusage

2007-02-14 Thread Johann Schuster
Hello, currently i'm trying to measure the cpu times for numerical algorithms written in C using two calls of getrusage() and then calculating the time difference. According to the man page of getrusage i looked at the user time of my process. Surprisingly the measured user times vary strongly

Measuring cpu time using getrusage

2007-02-14 Thread Johann Schuster
Hello, currently i'm trying to measure the cpu times for numerical algorithms written in C using two calls of getrusage() and then calculating the time difference. According to the man page of getrusage i looked at the user time of my process. Surprisingly the measured user times vary strongly