Ignore:
Timestamp:
03/23/15 17:52:17 (7 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
  • test/test-format-parallel-hasher.c

    r6a6e6a8 r6b98325  
    208208        libtrace_t *trace;
    209209        int error = 0;
    210         int i;
    211210        int hashercount = 0;
    212211        printf("Testing hasher function\n");
     
    217216
    218217        // Always use 2 threads for simplicity
    219         i = 2;
    220         trace_parallel_config(trace, TRACE_OPTION_SET_PERPKT_THREAD_COUNT, &i);
     218        trace_set_perpkt_threads(trace, 2);
    221219        trace_set_hasher(trace, HASHER_CUSTOM, &hash25_75, &hashercount);
    222220
Note: See TracChangeset for help on using the changeset viewer.