Changeset abda273 for lib/trace_parallel.c
- Timestamp:
- 04/10/14 12:42:01 (8 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:
- 19135af
- Parents:
- df668eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace_parallel.c
r29bbef0 rabda273 120 120 } 121 121 122 DLLEXPORT inlinevoid print_contention_stats(libtrace_t *libtrace) {122 DLLEXPORT void print_contention_stats(libtrace_t *libtrace) { 123 123 int i; 124 124 struct multithreading_stats totals = {0}; … … 1410 1410 } 1411 1411 1412 DLLEXPORT inlinevoid libtrace_result_set_key(libtrace_result_t * result, uint64_t key) {1412 DLLEXPORT void libtrace_result_set_key(libtrace_result_t * result, uint64_t key) { 1413 1413 result->key = key; 1414 1414 } 1415 DLLEXPORT inlineuint64_t libtrace_result_get_key(libtrace_result_t * result) {1415 DLLEXPORT uint64_t libtrace_result_get_key(libtrace_result_t * result) { 1416 1416 return result->key; 1417 1417 } 1418 DLLEXPORT inlinevoid libtrace_result_set_value(libtrace_result_t * result, void * value) {1418 DLLEXPORT void libtrace_result_set_value(libtrace_result_t * result, void * value) { 1419 1419 result->value = value; 1420 1420 } 1421 DLLEXPORT inlinevoid* libtrace_result_get_value(libtrace_result_t * result) {1421 DLLEXPORT void* libtrace_result_get_value(libtrace_result_t * result) { 1422 1422 return result->value; 1423 1423 } 1424 DLLEXPORT inlinevoid libtrace_result_set_key_value(libtrace_result_t * result, uint64_t key, void * value) {1424 DLLEXPORT void libtrace_result_set_key_value(libtrace_result_t * result, uint64_t key, void * value) { 1425 1425 result->key = key; 1426 1426 result->value = value;
Note: See TracChangeset
for help on using the changeset viewer.