Ignore:
Timestamp:
04/27/07 11:52:15 (15 years ago)
Author:
Shane Alcock <salcock@…>
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:
bd4bec9
Parents:
1dc58e0
Message:

Updated some reports to output to files rather than stdout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/flow_report.c

    rd4336d5 re991529  
    4848void flow_report(void)
    4949{
    50         printf("# Flows:\n");
    51         printf("Flows: %" PRIu64 "\n",flow_count);
     50        FILE *out = fopen("flows.out", "w");
     51        if (!out) {
     52                perror("fopen");
     53                return;
     54        }
     55        fprintf(out, "Flows: %" PRIu64 "\n",flow_count);
     56        fclose(out);
    5257}
Note: See TracChangeset for help on using the changeset viewer.