The source program profiler analyzes source Prolog programs, and reports the following information about the programs:
- What predicates are defined?
- What predicates are used, but are not defined?
- What predicates are defined, but are not used?
- What kinds of built-ins are used?
In order to use the profiler, type
profile_src(F)
or
profile_src([F1,...,Fn])
where F and F1,...,Fn are the file names of the source programs.
Neng-Fa Zhou
2013-01-25