Add option to calculate packet counters per second.

This commit is contained in:
Christian Deacon
2025-02-26 18:53:14 -05:00
parent 03f67fb063
commit c567a028ed
6 changed files with 81 additions and 22 deletions

View File

@@ -8,4 +8,6 @@
#include <loader/utils/config.h>
#include <loader/utils/helpers.h>
int CalculateStats(int stats_map, int cpus);
#include <time.h>
int CalculateStats(int stats_map, int cpus, int per_second);