aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/traffic_profile/prox_binsearch.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/network_services/traffic_profile/prox_binsearch.py')
-rw-r--r--yardstick/network_services/traffic_profile/prox_binsearch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/network_services/traffic_profile/prox_binsearch.py b/yardstick/network_services/traffic_profile/prox_binsearch.py
index a92839c8d..9457096c8 100644
--- a/yardstick/network_services/traffic_profile/prox_binsearch.py
+++ b/yardstick/network_services/traffic_profile/prox_binsearch.py
@@ -160,6 +160,8 @@ class ProxBinSearchProfile(ProxProfile):
success_samples["Success_can_be_lost"] = int(result.can_be_lost)
success_samples["Success_drop_total"] = int(result.drop_total)
success_samples["Success_RxThroughput"] = samples["RxThroughput"]
+ success_samples["Success_RxThroughput_gbps"] = \
+ (samples["RxThroughput"] / 1000) * ((pkt_size + 20)* 8)
LOG.info(">>>##>>Collect SUCCESS TG KPIs %s %s",
datetime.datetime.now(), success_samples)
self.queue.put(success_samples, True, overall_constants.QUEUE_PUT_TIMEOUT)