diff options
author | Hanoh Haim <hhaim@cisco.com> | 2017-02-08 15:21:11 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2017-02-09 09:56:00 +0200 |
commit | 2dab8f65015e9fa90df395be6ee1a07e9ac71044 (patch) | |
tree | aabab12f12e50e34f09f092c7f19dc7948de0134 /src/bp_sim.h | |
parent | c9b62af88eb92ca403e43c34a2279c80d8d6f57b (diff) |
move to active flows
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-x | src/bp_sim.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h index 217446ed..a5153792 100755 --- a/src/bp_sim.h +++ b/src/bp_sim.h @@ -4000,7 +4000,7 @@ private: void terminate_nat_flows(CGenNode *node); - void init_from_global(CIpPortion &); + void init_from_global(); void defer_client_port_free(CGenNode *p); void defer_client_port_free(bool is_tcp,uint32_t c_ip,uint16_t port, uint8_t pool_idx, CTupleGeneratorSmart*gen); @@ -4142,6 +4142,8 @@ public: public: /* update ipg in a way for */ int update_active_flows(uint32_t active_flows); + double get_worse_case_active_flows(); + double get_total_kcps(); double get_total_pps(); double get_total_tx_bps(); |