next up previous contents index
Next: Frequently Asked Questions Up: manual Previous: Miscellaneous   Contents   Index

Profiler and Other Tools

The directory $BPDIR/Tools contains the sources of the following programs: All these programs are compiled into the binary file tools.out at the directory $BPDIR. To use the tools, you can either load tools.out into the system by using load, or insert $BPDIR/tools.out after $BPDIR/bp.out in the shell file bp such that it will be loaded into the system when bp is executed. The following describes primitives in the profiler. See the sources of other programs for their usage.

To gauge the execution of a program, do the following:

  1. profile_consult(File) or profile_compile(File),load(File).

  2. init_profile.

  3. execute a goal.

  4. profile.


next up previous contents index
Next: Frequently Asked Questions Up: manual Previous: Miscellaneous   Contents   Index
Neng-Fa Zhou
1999-11-24