Re: How to compare algorithms in linux
- From: "Robert M. Riches Jr." <spamtrap42@xxxxxxxxxxx>
- Date: Fri, 05 May 2006 17:46:09 GMT
On 2006-05-05, kabadi@xxxxxxxxx <kabadi@xxxxxxxxx> wrote:
I tried using time, but It does not take into account the fact that
other processes are also running. Like if my process is using 10% CPU
at some point and later it uses 40% CPU, i need a program which
accomodates this fact. It would help if i could get either teeh xaact
process time or number of computation steps.
You did not include any context from your earlier post or
the replies directing you to try the 'time' command.
Context is important, because on Usenet it is entirely
possible for postings to arrive out of order or to not
arrive at all. Chris F.A. Johnson has a web page that
explains many things about Usenet, the reportedly broken
Google web-based interface to Usenet newsgroups, and how to
properly post from Google:
<http://cfaj.freeshell.org/google>
The output of the 'time' command normally includes both the
'user' and 'system' CPU time uses as well as the elapsed
time. For comparing algorithms, the 'user' CPU time is most
likely the one you should look at.
--
Robert Riches
spamtrap42@xxxxxxxxxxx
(Yes, that is one of my email addresses.)
.
- References:
- How to compare algorithms in linux
- From: kabadi
- Re: How to compare algorithms in linux
- From: stan
- Re: How to compare algorithms in linux
- From: kabadi
- How to compare algorithms in linux
- Prev by Date: Re: How to compare algorithms in linux
- Next by Date: Re: cron help with cygwin
- Previous by thread: Re: How to compare algorithms in linux
- Next by thread: Re: How to compare algorithms in linux
- Index(es):
Relevant Pages
|