summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2017-02-08 15:21:11 +0200
committerHanoh Haim <hhaim@cisco.com>2017-02-09 09:56:00 +0200
commit2dab8f65015e9fa90df395be6ee1a07e9ac71044 (patch)
treeaabab12f12e50e34f09f092c7f19dc7948de0134 /src/bp_sim.h
parentc9b62af88eb92ca403e43c34a2279c80d8d6f57b (diff)
move to active flows
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h4
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();