Changeset 874
- Timestamp:
- 06/19/06 17:56:36 (7 years ago)
- File:
-
- 1 edited
-
trunk/tools/tracertstats/tracertstats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/tracertstats/tracertstats.c
r838 r874 145 145 146 146 ts = trace_get_seconds(packet); 147 while (packet_interval!=UINT64_MAX 148 &&(last_ts==0 || last_ts<ts)) { 149 if (last_ts==0) 150 last_ts=ts; 151 report_results(last_ts,count,bytes); 152 count=0; 153 bytes=0; 154 last_ts+=packet_interval; 155 } 147 156 for(i=0;i<filter_count;++i) { 148 157 if(trace_apply_filter(filters[i].filter,packet)) { … … 155 164 bytes+=trace_get_wire_length(packet); 156 165 157 if (packet_interval!=UINT64_MAX158 &&(last_ts==0 || last_ts<ts)) {159 if (last_ts==0)160 last_ts=ts;161 report_results(ts,count,bytes);162 count=0;163 bytes=0;164 last_ts+=packet_interval;165 }166 166 167 167 if (count >= packet_count) {
Note: See TracChangeset
for help on using the changeset viewer.
