Re: newbie question: how to measure run-time with Sicstus under linux?
- From: "Paulo Moura" <pmoura@xxxxxxxxx>
- Date: 12 Aug 2005 09:18:07 -0700
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
.
- Follow-Ups:
- Re: newbie question: how to measure run-time with Sicstus under linux?
- From: Bart Demoen
- Re: newbie question: how to measure run-time with Sicstus under linux?
- From: Duncan Patton
- Re: newbie question: how to measure run-time with Sicstus under linux?
- References:
- newbie question: how to measure run-time with Sicstus under linux?
- From: ouyang . jie
- Re: newbie question: how to measure run-time with Sicstus under linux?
- From: Duncan Patton
- Re: newbie question: how to measure run-time with Sicstus under linux?
- From: Paulo Moura
- Re: newbie question: how to measure run-time with Sicstus under linux?
- From: Duncan Patton
- newbie question: how to measure run-time with Sicstus under linux?
- Prev by Date: Re: newbie question: how to measure run-time with Sicstus under linux?
- Next by Date: Minimum depth limit
- Previous by thread: Re: newbie question: how to measure run-time with Sicstus under linux?
- Next by thread: Re: newbie question: how to measure run-time with Sicstus under linux?
- Index(es):
Relevant Pages
|