Ignore:
Timestamp:
04/14/11 15:32:26 (11 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:
3787331
Parents:
eff6d8c
Message:
  • Tracetop should report based on wire length not capture length
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracetop/tracetop.cc

    r11754a6 r05a3177  
    232232
    233233        ++it->second.packets;
    234         it->second.bytes+=trace_get_capture_length(packet);
     234        it->second.bytes+=trace_get_wire_length(packet);
    235235
    236236        ++total_packets;
    237         total_bytes+=trace_get_capture_length(packet);
     237        total_bytes+=trace_get_wire_length(packet);
    238238
    239239}
Note: See TracChangeset for help on using the changeset viewer.