autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portable CPU time report


From: Lassi A. Tuura
Subject: Re: Portable CPU time report
Date: Fri, 16 May 2003 09:55:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401

Bill Moseley wrote:
> I'm looking for a portable way to get CPU usage time.  I'm thinking I should 
> check for
> getrusage(2), times(2), and then clock(3).  Is anyone doing this, and if so 
> what configure 
> checks are you testing (besides the three functions above)?

http://lcgapp.cern.ch/lxr/SEAL/source/seal/Foundation/SealBase/src/TimeInfo.cpp#L806
http://lcgapp.cern.ch/lxr/SEAL/source/seal/Foundation/SealBase/src/TimeInfo.cpp#L872
http://lcgapp.cern.ch/lxr/SEAL/source/seal/Foundation/SealBase/src/TimeInfo.cpp#L426
http://lcgapp.cern.ch/lxr/SEAL/source/seal/Foundation/SealPlatform/configure.in#L226

//lat
-- 
We look back on our life as a thing of broken pieces, because
our mistakes and failures are always the first to strike us,
and outweigh in our imagination what we have accomplished and
attained.  --Goethe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]