- Timestamp:
- 04/27/14 20:55:36 (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:
- a5662447
- Parents:
- 17a3dff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace_parallel.c
r17a3dff r5ce14a5 126 126 struct multithreading_stats totals = {0}; 127 127 for (i = 0; i < libtrace->perpkt_thread_count ; i++) { 128 printf("\nStats for perpkt thread#%d\n", i);129 printf("\tfull_queue_hits: %"PRIu64"\n", contention_stats[i].full_queue_hits);128 fprintf(stderr, "\nStats for perpkt thread#%d\n", i); 129 fprintf(stderr, "\tfull_queue_hits: %"PRIu64"\n", contention_stats[i].full_queue_hits); 130 130 totals.full_queue_hits += contention_stats[i].full_queue_hits; 131 printf("\twait_for_fill_complete_hits: %"PRIu64"\n", contention_stats[i].wait_for_fill_complete_hits);131 fprintf(stderr, "\twait_for_fill_complete_hits: %"PRIu64"\n", contention_stats[i].wait_for_fill_complete_hits); 132 132 totals.wait_for_fill_complete_hits += contention_stats[i].wait_for_fill_complete_hits; 133 133 } 134 printf("\nTotals for perpkt threads\n");135 printf("\tfull_queue_hits: %"PRIu64"\n", totals.full_queue_hits);136 printf("\twait_for_fill_complete_hits: %"PRIu64"\n", totals.wait_for_fill_complete_hits);134 fprintf(stderr, "\nTotals for perpkt threads\n"); 135 fprintf(stderr, "\tfull_queue_hits: %"PRIu64"\n", totals.full_queue_hits); 136 fprintf(stderr, "\twait_for_fill_complete_hits: %"PRIu64"\n", totals.wait_for_fill_complete_hits); 137 137 138 138 return;
Note: See TracChangeset
for help on using the changeset viewer.