Ignore:
Timestamp:
03/27/15 17:16:53 (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:
ac6ac7f
Parents:
c63bcdf
Message:

Move combiners.h into libtrace_parallel.h and export libtrace_parallel.h
so that it is installed correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_parallel.h

    ra330384 r7c95027  
    11221122 *
    11231123 * Sets a combiner against a trace, this should only be called on a
    1124  * non-started or paused trace.
     1124 * non-started or paused trace.  By default combiner_unordered
     1125 * will be used.
    11251126 */
    11261127DLLEXPORT void trace_set_combiner(libtrace_t *trace, const libtrace_combine_t *combiner, libtrace_generic_t config);
    11271128
     1129/**
     1130 * Takes unordered (or ordered) input and produces unordered output.
     1131 * Basically you get the result quickly but in no particular order.
     1132 */
     1133extern const libtrace_combine_t combiner_unordered;
     1134
     1135/**
     1136 * Takes ordered input and produces ordered output. Perpkt threads
     1137 * the output results must be ordered for this to work correctly!!
     1138 */
     1139extern const libtrace_combine_t combiner_ordered;
     1140
     1141/**
     1142 * Like classic Google Map/Reduce, the results are sorted
     1143 * in ascending order, this is only done when the trace finishes.
     1144 *
     1145 * This only works with a limited number of results, otherwise
     1146 * we will just run out of memory and crash!! You should always
     1147 * use combiner_ordered if you can.
     1148 */
     1149extern const libtrace_combine_t combiner_sorted;
     1150
    11281151#endif // LIBTRACE_PARALLEL_H
Note: See TracChangeset for help on using the changeset viewer.