resets the packet counts for a new test */
| 106 | |
| 107 | /* resets the packet counts for a new test */ |
| 108 | static void |
| 109 | clear_packet_count(void) |
| 110 | { |
| 111 | memset(&worker_stats, 0, sizeof(worker_stats)); |
| 112 | } |
| 113 | |
| 114 | /* |
| 115 | * This is the basic worker function for performance tests. |