Jason, Thanks! That's what I needed. Looks like you've been here before :^)
Bobby ----- Original Message ----- From: "Jason Linhart" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 01, 2003 12:47 PM Subject: Re: [analog-help] File Size Report > That is the code that does the work, but it works off of an array of > threshold values. I think you want sizethresh in globals.c near line > 1507. Then you have to find the corresponding label strings in your > language file and adjust them also. > > Jason > > > On 3/1/03 12:21 PM Bobby Hitt ([EMAIL PROTECTED]) wrote: > > >After spending most of the night looking thru the analog source, I've given > >up looking where the FILE SIZE code is manipulated. I found one reference > >where the SIZE 'z' printed, and that's not where the SIZE output is in my > >analog computer formatted output. What I found in cache.c: > > > > for (i = 0, done = FALSE; !done; i++) { > > if (arraydata[REP_SIZE - FIRST_ARRAYREP][i].reqs > 0) > > fprintf(outf, "z\t%d\t%lu\t%lu\t%lu\t%.0f\n", i, > > arraydata[REP_SIZE - FIRST_ARRAYREP][i].reqs, > > arraydata[REP_SIZE - FIRST_ARRAYREP][i].pages, > > arraydata[REP_SIZE - FIRST_ARRAYREP][i].lastdate, > > arraydata[REP_SIZE - FIRST_ARRAYREP][i].bytes); > > if (arraydata[REP_SIZE - FIRST_ARRAYREP][i].threshold < -0.5) > > done = TRUE; > > } > > > >doesn't match my output: > > > >z PpBb 1320 1.101 0 0.000 0 > >z PpBb 1 0.001 2 0.000 1B- 10B > >z PpBb 0 0.000 610 0.000 11B- 100B > >z PpBb 51 0.043 2968997 0.031 101B- 1kB > >z PpBb 1614 1.346 501130648 5.250 1kB- 10kB > >z PpBb 115252 96.089 5110726305 53.541 10kB-100kB > >z PpBb 1705 1.422 3916617479 41.032 100kB- 1MB > >z PpBb 0 0.000 13940714 0.146 1MB- 10MB > > > >not even close, so I'm lead to believe that what's being output in computer > >format is using something entirely different, so I have no idea even where > >to start looking. I just need to know where it's checked for the different > >file sizes so I can break out the 10kB to 100kB even further. > > > ----------------- > [EMAIL PROTECTED] > ----------------- > Dr. Seuss books . . . can be read and enjoyed on several levels. For > example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed > as a searing indictment of the narrow-minded binary counting system. > -- Peter van der Linden, Expert C Programming, Deep C Secrets > > > +------------------------------------------------------------------------ > | TO UNSUBSCRIBE from this list: > | http://lists.isite.net/listgate/analog-help/unsubscribe.html > | > | Digest version: http://lists.isite.net/listgate/analog-help-digest/ > | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general > | List archives: http://www.analog.cx/docs/mailing.html#listarchives > +------------------------------------------------------------------------ > +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------