Changeset bc4c11e
- Timestamp:
- 05/05/06 10:18:53 (15 years ago)
- 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:
- b721834
- Parents:
- 5eeba76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/event/event_example.c
r5eeba76 rbc4c11e 143 143 per_packet(packet); 144 144 145 /*146 pkt_count ++;147 byte_count += trace_get_wire_length(packet);148 149 ts = trace_get_seconds(packet);150 if (last_second == 0) {151 last_second = (uint32_t)ts;152 } else if (last_second < (uint32_t)ts) {153 fprintf(stdout, "%d\tPackets: %d\tBytes: %d\n", last_second, pkt_count, byte_count);154 last_second = (uint32_t)ts;155 pkt_count = 0;156 byte_count = 0;157 }158 */159 145 } 160 146 free(uri);
Note: See TracChangeset
for help on using the changeset viewer.