Ignore:
Timestamp:
03/23/15 17:52:17 (6 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
773d5e2
Parents:
963b13b
Message:

Removes pconfig_input() and replaces trace_config() with trace_set_<option>

  • Removes trace_pconfig completely - only trace_set_hasher is left now in trace_config
  • Rework user configuration so this is no longer modified directly. Now we just apply it directly to a trace.
  • Many minor documentation fixes and additions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracertstats/tracertstats_parallel.c

    r6a6e6a8 r6b98325  
    294294                return;
    295295        }*/
    296         int i = 1;
    297296        trace_set_combiner(trace, &combiner_ordered, (libtrace_generic_t){0});
    298         /* trace_parallel_config(trace, TRACE_OPTION_TRACETIME, &i); */
     297        trace_set_tracetime(trace, true);
     298
    299299        //trace_set_hasher(trace, HASHER_CUSTOM, &bad_hash, NULL);
    300300
    301301        if (trace_get_information(trace)->live) {
    302                 i = (int) (packet_interval * 1000); // Every interval send a tick
    303                 trace_parallel_config(trace, TRACE_OPTION_TICK_INTERVAL, &i);
     302                trace_set_tick_interval(trace, (int) (packet_interval * 1000));
    304303        }
    305304
Note: See TracChangeset for help on using the changeset viewer.