Return to profile.c CVS log | Up to [gforth] / gforth / engine |
version 1.3, 2001/03/01 14:27:22 | version 1.4, 2001/03/04 13:39:35 |
---|---|
Line 144 void print_block(FILE *file, block_count | Line 144 void print_block(FILE *file, block_count |
size_t i,j,k; | size_t i,j,k; |
for (i=2; i<12; i++) | for (i=2; i<12; i++) |
for (j=0; i+j<b->ninsts; j++) { | for (j=0; i+j<=b->ninsts; j++) { |
fprintf(file,"%14lld\t",b->count); | fprintf(file,"%14lld\t",b->count); |
for (k=j; k<i+j; k++) | for (k=j; k<i+j; k++) |
fprintf(file, "%s ", b->insts[k]); | fprintf(file, "%s ", b->insts[k]); |