Changeset 0b4b388


Ignore:
Timestamp:
02/27/17 17:06:52 (4 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
cac1d92
Parents:
c9ce7ab
Message:

tracertstats: only set tracetime for file formats

Setting this for live formats leads to horrendous performance
problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracertstats/tracertstats.c

    ree6e802 r0b4b388  
    258258        }
    259259        trace_set_combiner(trace, &combiner_ordered, (libtrace_generic_t){0});
    260         trace_set_tracetime(trace, true);
    261260        trace_set_perpkt_threads(trace, threadcount);
    262261        trace_set_burst_size(trace, burstsize);
     
    264263        if (trace_get_information(trace)->live) {
    265264                trace_set_tick_interval(trace, (int) (packet_interval * 1000));
     265        } else {
     266                trace_set_tracetime(trace, true);
    266267        }
    267268
Note: See TracChangeset for help on using the changeset viewer.