Ignore:
Timestamp:
02/21/07 16:06:38 (14 years ago)
Author:
Josef Vodanovich <jjv4@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
f9b6f64
Parents:
d4336d5
Message:

removed unnecessary loops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/ttl_report.c

    rd4336d5 r09be643  
    2626        int i;
    2727        printf("%-20s","Direction:");
    28         //printf("%20s", " ");
    2928        for(i=0;i<4;i++){
    3029                if(!suppress[i]){
     
    7675                printf("\n");
    7776        }
    78        
    79         int total;
    80         for(i=0;i<4;i++){
    81                 total = 0;
    82                 for(j=0;j<256;j++)
    83                         total += ttl_stat[i][j].count;
    84                 //printf("%s: %i\n", "Total", total);
    85         }
    8677}
Note: See TracChangeset for help on using the changeset viewer.