Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!ihnp4!inuxc!pur-ee!uiucdcs!uicsl!preece From: preece@uicsl.UUCP Newsgroups: net.lang Subject: Re: Self-modifying code - (nf) Message-ID: <4858@uiucdcs.UUCP> Date: Tue, 10-Jan-84 22:37:16 EST Article-I.D.: uiucdcs.4858 Posted: Tue Jan 10 22:37:16 1984 Date-Received: Sun, 15-Jan-84 00:50:08 EST Lines: 15 #R:fortune:-215700:uicsl:6200005:000:559 uicsl!preece Jan 10 12:03:00 1984 The SAIL execution profiler used a set of macros to replace the begin and end 'statements' with calls to the timer/counter routine. It was a pain to use, though, since all the begins and ends had to be changed to begintims and endtims and the routine names inserted in them so that the profiler could give names to them. On the other hand, it involved no manipulation of the object code and could be turned off by simply replacing the macro package with another that simply turned begintim into begin, and so forth. scott preece ihnp4!uiucdcs!uicsl!preece