Download ciao Reference Manual - pdf

Transcript
lviii
214
The Ciao Prolog System
Measuring features from predicates (time cost
or memory used...) . . . . . . . . . . . . . . . . . . . . . . . . 825
214.1 Usage and interface (time_analyzer) . . . . . . . . . . . . . . . . . . . . .
214.2 Documentation on exports (time_analyzer) . . . . . . . . . . . . . .
performance/3 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
benchmark/6 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
compare benchmark/7 (pred) . . . . . . . . . . . . . . . . . . . . .
benchmark2/6 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
compare benchmark2/7 (pred) . . . . . . . . . . . . . . . . . . . .
sub times/3 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
div times/2 (pred). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
cost/3 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
generate plot/3 (udreexp) . . . . . . . . . . . . . . . . . . . . . . . . .
generate plot/2 (udreexp) . . . . . . . . . . . . . . . . . . . . . . . . .
set general options/1 (udreexp) . . . . . . . . . . . . . . . . . . .
get general options/1 (udreexp) . . . . . . . . . . . . . . . . . . .
215
Printing graph using gnuplot as auxiliary tool.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 831
215.1 Usage and interface (gnuplot) . . . . . . . . . . . . . . . . . . . . . . . . . . .
215.2 Documentation on exports (gnuplot) . . . . . . . . . . . . . . . . . . . . .
get general options/1 (pred) . . . . . . . . . . . . . . . . . . . . . .
set general options/1 (pred) . . . . . . . . . . . . . . . . . . . . . . .
generate plot/2 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
generate plot/3 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
216
831
831
831
831
832
832
Automatic modules caller tester . . . . . . . . . . . 835
216.1 Usage and interface (modtester) . . . . . . . . . . . . . . . . . . . . . . . . .
216.2 Documentation on exports (modtester) . . . . . . . . . . . . . . . . . . .
tester func/1 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
modules tester/2 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . .
pred tester/2 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217
825
825
825
826
826
827
828
828
828
828
829
829
829
829
835
835
835
835
836
Automatic tester . . . . . . . . . . . . . . . . . . . . . . . . . 837
217.1 Usage and interface (tester) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.2 Documentation on exports (tester) . . . . . . . . . . . . . . . . . . . . . .
run tester/10 (pred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.3 Other information (tester) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.3.1 Understanding run test predicate . . . . . . . . . . . . . . . .
217.3.2 More complex example . . . . . . . . . . . . . . . . . . . . . . . . . .
837
837
837
838
838
839
PART XII - Appendices . . . . . . . . . . . . . . . . . . . . . . . . 843
218
Installing Ciao from the source distribution
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
218.1
218.2
218.3
218.4
218.5
218.6
218.7
218.8
Un*x installation summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Un*x full installation instructions . . . . . . . . . . . . . . . . . . . . . . . .
Checking for correct installation on Un*x . . . . . . . . . . . . . . . . .
Cleaning up the source directory . . . . . . . . . . . . . . . . . . . . . . . . .
Multiarchitecture support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installation and compilation under Windows . . . . . . . . . . . . . .
Porting to currently unsupported operating systems. . . . . . . .
Troubleshooting (nasty messages and nifty workarounds) . . .
845
846
849
850
850
851
851
852