开发者

swi-prolog time/1 to file

开发者 https://www.devze.com 2023-02-13 11:43 出处:网络
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?

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

精彩评论

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