Re: newbie question: how to measure run-time with Sicstus under linux?



On 12 Aug 2005 09:18:07 -0700
"Paulo Moura" <pmoura@xxxxxxxxx> wrote:

>
> Duncan Patton wrote:
> > On 12 Aug 2005 01:45:46 -0700
> > "Paulo Moura" <pmoura@xxxxxxxxx> wrote:
> >
> > >
> > > With the relevance of your answer to the original question being...?!?
> >
> > "Measuring" a runtime on Linux. Without specific reference to internal
> > prolog stuff.
>
> From the SICStus Prolog on-line manual:
>
>
> http://www.sics.se/sicstus/docs/latest/html/sicstus.html/State-Info.html#State%20Info
>
> statistics(?Key,?Value)
> This allows a program to gather various execution statistics. For each
> of the possible keys Key, Value is unified with a list of values, as
> follows:
> ...
> runtime
> [since start of Prolog,since previous statistics] These refer to CPU
> time used while executing, excluding time spent garbage collecting,
> stack shifting, or in system calls. The second element is the time
> since the last call to statistics/2 with this key. It is not affected
> by calls to statistics/0.
>
> In addtion, SICStus Prolog is not open-source, so it's unlikely that
> the original post could build it itself for using with GDB.

I didn't think of that ;-) Generally I've found that I need to compare
internally generated language metrics to some external things like GDB
before I know what they mean in terms of system resource use.

Dhu


>
> Cheers,
>
> Paulo
>


--
???????????????????????????????????????

Can't get good help?

Contact Fubar the Hack: fubar AT neotext.ca

Area code seven eight zero, Exchange four six six, Local zero one zero nine

Highland terms, Canadian workmanship.

All persons named herein are purely fictional victims
of the Canidian Bagle Breeder's Association.

Save the Bagle!

Sun Ðhu

???????????????????????????????????????


.



Relevant Pages

  • Re: Gun control and rape - The myths and the facts
    ... Why do you continue to ignore the possibility of ZERO ... > dealing with any number of victims or potential victims greater than zero. ... > Let's forget statistics for a second here. ... "Your" evidence? ...
    (talk.politics.guns)
  • A NEW publication: "Finnish Statistics for Dummies".
    ... Anon O'Hara forgot to mention -- ALWAYS, ... the data is -- that intercept will ALWAYS be zero. ... since I had already a version "Portuguese Statistics for Dummies". ... The content of the posts may or may not contain verbatim ...
    (sci.stat.math)
  • Re: DO NOT BELIEVE IN WHAT Jack Tomsky say
    ... nothing will ever penetrate until he takes a class in Statistics 101. ... significance level, Type I risk, or alpha risk is the ... zero do not prove that the difference is zero. ...
    (sci.stat.math)
  • Re: DO NOT BELIEVE IN WHAT Jack Tomsky say
    ... nothing will ever penetrate until he takes a class in Statistics 101. ... significance level, Type I risk, or alpha risk is the ... zero do not prove that the difference is zero. ...
    (sci.stat.math)
  • Re: Gun control and rape - The myths and the facts
    ... >> than zero, except for the few incidents where such women are armed. ... let me clarify your response to be sure I am not confuse. ... >> are willing to disarm them. ... >> uncaring and to make decisions based on statistics as to what others may ...
    (talk.politics.guns)