Changeset 6b98325 for test/test-format-parallel-hasher.c
- Timestamp:
- 03/23/15 17:52:17 (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/test-format-parallel-hasher.c
r6a6e6a8 r6b98325 208 208 libtrace_t *trace; 209 209 int error = 0; 210 int i;211 210 int hashercount = 0; 212 211 printf("Testing hasher function\n"); … … 217 216 218 217 // 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); 221 219 trace_set_hasher(trace, HASHER_CUSTOM, &hash25_75, &hashercount); 222 220
Note: See TracChangeset
for help on using the changeset viewer.