Changeset 5c07bfe
- Timestamp:
- 02/28/18 15:08:44 (4 years ago)
- Branches:
- cachetimestamps, develop, etsilive, master, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
- Children:
- e375e0f
- Parents:
- 9375d2e
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace_parallel.h
ree6e802 r5c07bfe 1337 1337 DLLEXPORT int trace_get_perpkt_threads(libtrace_t* t); 1338 1338 1339 /** Returns the internal unique ID for a packet processing thread. 1340 * 1341 * @param thread The thread being queried. 1342 * @return The ID number of the thread or -1 if the thread is not a processing 1343 * thread or is otherwise invalid. 1344 */ 1345 DLLEXPORT int trace_get_perpkt_thread_id(libtrace_thread_t *thread); 1346 1339 1347 /** 1340 1348 * Sets a combiner function for an input trace. -
lib/trace_parallel.c
re8db2d4 r5c07bfe 287 287 } 288 288 289 DLLEXPORT int trace_get_perpkt_thread_id(libtrace_thread_t *thread) { 290 return thread->perpkt_num; 291 } 292 289 293 /** 290 294 * Changes the overall traces state and signals the condition.
Note: See TracChangeset
for help on using the changeset viewer.