diff options
author | 2018-01-25 14:50:45 +0000 | |
---|---|---|
committer | 2018-01-25 14:50:45 +0000 | |
commit | 6a9be5e7db6445f0a144d8f51d4afc8eb40ceaac (patch) | |
tree | 296e8c276350887bc11df968f3bf9710ddcf827d /VNFs/DPPD-PROX/stats.c | |
parent | 442501d625b6d05f38267d442fd4e42f6cebef7d (diff) | |
parent | ab933e9fd74d5a4e20eeb30e3fab3977e98b8743 (diff) |
Merge "Integrate irq mode into PROX (support display and command line)"
Diffstat (limited to 'VNFs/DPPD-PROX/stats.c')
-rw-r--r-- | VNFs/DPPD-PROX/stats.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/stats.c b/VNFs/DPPD-PROX/stats.c index 2418826f..656b8d37 100644 --- a/VNFs/DPPD-PROX/stats.c +++ b/VNFs/DPPD-PROX/stats.c @@ -29,6 +29,7 @@ #include "stats_task.h" #include "stats_prio_task.h" #include "stats_latency.h" +#include "stats_irq.h" /* Stores all readed values from the cores, displaying is done afterwards because displaying introduces overhead. If displaying was done right after the values @@ -41,6 +42,7 @@ void stats_reset(void) stats_prio_task_reset(); stats_port_reset(); stats_latency_reset(); + stats_irq_reset(); stats_global_reset(); } @@ -49,6 +51,7 @@ void stats_init(unsigned avg_start, unsigned duration) stats_lcore_init(); stats_task_init(); stats_prio_task_init(); + stats_irq_init(); stats_port_init(); stats_mempool_init(); stats_latency_init(); @@ -86,6 +89,9 @@ void stats_update(uint16_t flag_cons) if (flag_cons & STATS_CONS_F_RINGS) stats_ring_update(); + if (flag_cons & STATS_CONS_F_IRQ) + stats_irq_update(); + if (flag_cons & STATS_CONS_F_LCORE) stats_lcore_post_proc(); @@ -97,4 +103,7 @@ void stats_update(uint16_t flag_cons) if (flag_cons & STATS_CONS_F_GLOBAL) stats_global_post_proc(); + + if (flag_cons & STATS_CONS_F_IRQ) + stats_irq_post_proc(); } |