[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.14 and 1.15

version 1.14, 2004/07/20 08:46:23 version 1.15, 2005/05/03 08:09:52
Line 435 
Line 435 
     UNIT                ccnt;      UNIT                ccnt;
     double              time;      double              time;
     unsigned long       pcl, pch;      unsigned long       pcl, pch;
     int i;      unsigned long       i;
     unsigned long       overlap;      unsigned long       overlap;
     unsigned long       svalue0, svalue1;      unsigned long       svalue0, svalue1;
   
Line 447 
Line 447 
         ccnt = samples[i];          ccnt = samples[i];
         if (ccnt == 0)          if (ccnt == 0)
                 continue;                  continue;
         pcl = lowpc + scale * i;          pcl = lowpc + (unsigned long)(scale * i);
         pch = lowpc + scale * (i + 1);          pch = lowpc + (unsigned long)(scale * (i + 1));
         time = ccnt;          time = ccnt;
 #       ifdef DEBUG  #       ifdef DEBUG
             if ( debug & SAMPLEDEBUG ) {              if ( debug & SAMPLEDEBUG ) {

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15