On Mon, 21 Aug 2000, Harold M Hallikainen wrote: > On Mon, 21 Aug 2000 10:07:45 -0600 Dan Michaels <oricom@LYNX.SNI.NET> > writes: > > Harold M Hallikainen wrote: > > > > > Still doing everything in assembly... > > > > > > > And I'll bet you always know "exactly" how long all your > > "critical" routines take to execute too. > > Yes... Too Long! Anyone have any sort of histogram program to tell me > where the processor is spending all its time? No, but I've been wanting to add this feature to gpsim (gnupic simulator) . Essentially what I was thinking about was a profiler to count the number of times an instruction at a particular address is executed and plot this info in a histogram. Obtaining the profile info would be trivial (gpsim traces everything already), but plotting it out would require some work... Meanwhile, I'd suggest writing all of your code in the form of a giant isochronous loop! :) Scott -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu