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




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.

Cheers,

Paulo

.



Relevant Pages

  • Re: Martial law comes to New Orleans.
    ... statistics is invalid. ... The question I asked is a matter of public ... The actual answer you gave is a matter of public record. ... I never weighed in on the original question (the archives are ...
    (rec.martial-arts)
  • Re: Statistics and Probability in Genealogy(thankyou)
    ... on the statistics of genealogical data." ... Thankyou for all your responses. ... My original question was the above. ... ps This is my fourty second year of genealogical research on my family. ...
    (soc.genealogy.britain)
  • Re: newbie question: how to measure run-time with Sicstus under linux?
    ... > From the SICStus Prolog on-line manual: ... > [since start of Prolog,since previous statistics] These refer to CPU ... Area code seven eight zero, Exchange four six six, Local zero one zero nine ... of the Canidian Bagle Breeder's Association. ...
    (comp.lang.prolog)