On Thu, 2009-10-15 at 13:04 -0700, ComputationalLing wrote:
> Thanks so much! Do you happen to know if there is a way to have the
> interpreter report back the time in milliseconds, as hundredths of a second
> are causing my queries to be reported simply as 0.00 seconds?
The underlying statistics/2 reports time as floats. The accuracy
depends on the OS. In recent 5.7.x versions time/1 reports 3 digits
as an increasing number of OSes do support that (in others the last
digit is always 0).
In most cases, do something like this:
?- time(forall(between(1, 1000, _), mygoal)).
Cheers --- Jan
_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog