| 19 | #include "parse.h" |
| 20 | |
| 21 | static void |
| 22 | sig_handler(int signo) |
| 23 | { |
| 24 | printf("Received signal %d, exiting...\n", signo); |
| 25 | unsigned lcore_id; |
| 26 | |
| 27 | RTE_LCORE_FOREACH(lcore_id) { |
| 28 | rte_power_exit(lcore_id); |
| 29 | } |
| 30 | |
| 31 | } |
| 32 | |
| 33 | #define MAX_HOURS 24 |
| 34 |
nothing calls this directly
no test coverage detected