trivial diff: mercury_profile.m comments

Fergus Henderson fjh at cs.mu.oz.au
Wed Dec 10 17:46:15 AEDT 1997


profiler/mercury_profile.m:
	Fix an XXX: add a reference to the conference paper that
	describes the method used to the documentation.
	Also change the `import_module' declarations so that
	the library modules and profiler modules are listed separately.

Index: mercury_profile.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/profiler/mercury_profile.m,v
retrieving revision 1.20
diff -u -u -r1.20 mercury_profile.m
--- mercury_profile.m	1997/12/05 15:55:48	1.20
+++ mercury_profile.m	1997/12/10 06:43:28
@@ -12,9 +12,13 @@
 %
 % Notes:
 %	Processes the Prof.* and the *.prof files to produce an output very
-%	similar to 'gprof'
+%	similar to `gprof'
 %
-%	Based on the profiling scheme described in XXX
+%	Based on the profiling scheme described in [1].
+%
+%	[1]	Graham, Kessler and McKusick "Gprof: a call graph execution
+%		profiler". In Proceedings of the 1982 SIGPLAN Symposium
+%		on Compiler Construction, pages 120-126.
 %
 %-----------------------------------------------------------------------------%
 %-----------------------------------------------------------------------------%
@@ -34,11 +38,9 @@
 :- implementation.
 
 :- import_module process_file, call_graph, generate_output, propagate, output.
-:- import_module prof_info.
-:- import_module bool, list, std_util, string, library.
-:- import_module options, getopt, globals.
-:- import_module relation.
-:- import_module prof_debug.
+:- import_module prof_info, prof_debug, options, globals.
+
+:- import_module bool, list, std_util, string, getopt, relation, library.
 
 %-----------------------------------------------------------------------------%
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list