home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!doug.cae.wisc.edu!jverdega
- From: jverdega@cae.wisc.edu (Jeffrey Verdegan)
- Subject: Re: A few more suggestions for THINK C
- Organization: U of Wisconsin-Madison College of Engineering
- Distribution: comp
- Date: 22 Jul 92 10:31:52 CDT
- Message-ID: <1992Jul22.103153.14800@doug.cae.wisc.edu>
- References: <SJE.92Jul20180620@xylos.ma30.bull.com> <SRO.92Jul21221949@media-lab.media.mit.edu>
- Lines: 39
-
- In the discussion of having Think C auto-sement, Shawn O'Donnell writes:
- >
- >THINK C might be able to make a reasonable first guess at which
- >functions should live with which other functions, but you can't tell
- >ahead of time which functions will be calling which other functions.
- >(The only way you'd know is if your program is independent of user
- >input or operates on no more than one data set...)
- >
- >What would be useful is if THINK C would log code swaps for you
- >while you're developing the code. Then, if you notice that there
- >is a lot of unrest on the heap, you can consider reassigning
- >project entries from one segment to another. It may already do
- >this.
- >
-
- This may be a rather naive suggestion, but would it be possible to include
- this sort of functionality in the profiler? Perhaps in conjunction with
- MacsBug? As you can see, I don't have any idea of how all this gobbledygook
- works, but I have this vague sense that it should be conceivable that someone
- who does would be able to create a profiler kludge to track cross-segment
- calls.
-
- This would be enormously useful. The app I'm developing has around 40 source
- files and 10 libraries. I have a general idea of where the boudaries are that
- separate one block of functions that mostly call each other from another, but
- I'm willing to bet that, were I to see some numbers, I'd be more than a little
- surprised.
-
- Jeff
-
- ----------
-
- Jeff Verdegan
- University of Wisconsin-Madison
- Computer-Aided Engineering Center
- jjv@caestaff.engr.wisc.edu
- (608) 263-1875
-
-
-