Re: newbie question: how to measure run-time with Sicstus under linux?
- From: "Paulo Moura" <pmoura@xxxxxxxxx>
- Date: 12 Aug 2005 01:45:46 -0700
Duncan Patton wrote:
> On 11 Aug 2005 06:31:15 -0700
> ouyang.jie@xxxxxxxxx wrote:
>
> > staticstics(runtime,_) is for windows. Am I right?
> >
>
> Use GDB on your prolog runtime. Might need to stop the compiler
> from stripping symbols. To do this you'll probably need to
> build it yourself and not load an rpm.
With the relevance of your answer to the original question being...?!?
On Logtalk, I use the following definition to get runtime time in
seconds, for all operating-systems supported by SICStus Prolog:
'$lgt_cpu_time'(Seconds) :-
statistics(runtime, [Miliseconds| _]),
Seconds is Miliseconds / 1000.
Morevover, SICStus Prolog documentation is available on-line for
further details:
http://www.sics.se/sicstus/docs/latest/html/sicstus.html/
Cheers,
Paulo
.
- Follow-Ups:
- 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
- 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: Re: Newbie question...simple rule question...
- 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
|
|