[BACK]Return to gprof.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

Diff for /src/usr.bin/gprof/gprof.c between version 1.8 and 1.9

version 1.8, 2001/03/25 19:23:40 version 1.9, 2001/11/19 19:02:14
Line 234 
Line 234 
     fclose(nfile);      fclose(nfile);
 #   ifdef DEBUG  #   ifdef DEBUG
         if ( debug & AOUTDEBUG ) {          if ( debug & AOUTDEBUG ) {
             register int j;              int j;
   
             for (j = 0; j < nname; j++){              for (j = 0; j < nname; j++){
                 printf("[getnfile] 0X%08x\t%s\n", nl[j].value, nl[j].name);                  printf("[getnfile] 0X%08x\t%s\n", nl[j].value, nl[j].name);
Line 265 
Line 265 
 getsymtab(nfile)  getsymtab(nfile)
     FILE        *nfile;      FILE        *nfile;
 {  {
     register long       i;      long                i;
     int                 askfor;      int                 askfor;
     struct nlist        nbuf;      struct nlist        nbuf;
   
Line 459 
Line 459 
 dumpsum( sumfile )  dumpsum( sumfile )
     char *sumfile;      char *sumfile;
 {  {
     register nltype *nlp;      nltype *nlp;
     register arctype *arcp;      arctype *arcp;
     struct rawarc arc;      struct rawarc arc;
     FILE *sfile;      FILE *sfile;
   
Line 515 
Line 515 
     FILE        *pfile;      FILE        *pfile;
 {  {
     UNIT        sample;      UNIT        sample;
     register int i;      int i;
   
     if (samples == 0) {      if (samples == 0) {
         samples = (UNIT *) calloc(sampbytes, sizeof (UNIT));          samples = (UNIT *) calloc(sampbytes, sizeof (UNIT));
Line 567 
Line 567 
 void  void
 asgnsamples()  asgnsamples()
 {  {
     register int        j;      int j;
     UNIT                ccnt;      UNIT                ccnt;
     double              time;      double              time;
     unsigned long       pcl, pch;      unsigned long       pcl, pch;
     register int        i;      int i;
     unsigned long       overlap;      unsigned long       overlap;
     unsigned long       svalue0, svalue1;      unsigned long       svalue0, svalue1;
   
Line 657 
Line 657 
 void  void
 alignentries()  alignentries()
 {  {
     register struct nl  *nlp;      struct nl           *nlp;
     unsigned long       bucket_of_entry;      unsigned long       bucket_of_entry;
     unsigned long       bucket_of_code;      unsigned long       bucket_of_code;
   

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9