diff options
author | 2015-12-01 03:46:21 -0500 | |
---|---|---|
committer | 2015-12-01 03:47:51 -0500 | |
commit | a48cd6471a2d82e5d78e8abe85b065f66a388e11 (patch) | |
tree | 1de45ed312a00790d3d8d741d8d51d4f94ac4202 /src/stateless | |
parent | f2f7a6d3126044ac58f24ab8b07d4cba092554ca (diff) |
1. fixed ZMQ message limitation
2. added some scale yamls for IMIX (300 streams, 1000 streams)
3. return objects are always complex objects (not strings) - for backward compatability
4. some minor adjustments to ZMQ socket timeouts
Diffstat (limited to 'src/stateless')
-rw-r--r-- | src/stateless/cp/trex_stateless_port.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/stateless/cp/trex_stateless_port.h b/src/stateless/cp/trex_stateless_port.h index 45eb16e8..2d15a1cc 100644 --- a/src/stateless/cp/trex_stateless_port.h +++ b/src/stateless/cp/trex_stateless_port.h @@ -79,7 +79,7 @@ public: * start traffic * throws TrexException in case of an error */ - void start_traffic(const TrexPortMultiplier &mul, double duration = -1); + void start_traffic(const TrexPortMultiplier &mul, double duration); /** * stop traffic @@ -211,6 +211,14 @@ public: } + /** + * returns the traffic multiplier currently being used by the DP + * + */ + double get_multiplier() { + return (m_current_per_core_m * m_cores_id_list.size()); + } + private: |