开发者

swi-prolog time/1 to file

Is开发者_JS百科 it possible to write the results of time/1 to file or have them returned as a variable to automate the runtime comparison?

Or is there another predicate to do this?


The solution to this is to use the statistics/2 predicate.

http://www.swi-prolog.org/pldoc/man?predicate=statistics%2F2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜