From ff443a39bc967fa58c5fb16d626bb96a2abb59f0 Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 6 Apr 2016 17:29:28 +0300 Subject: NULL stream and multi core better support for streams --- src/stateless/cp/trex_streams_compiler.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/stateless/cp/trex_streams_compiler.h') diff --git a/src/stateless/cp/trex_streams_compiler.h b/src/stateless/cp/trex_streams_compiler.h index b8b0be37..d910f216 100644 --- a/src/stateless/cp/trex_streams_compiler.h +++ b/src/stateless/cp/trex_streams_compiler.h @@ -123,6 +123,23 @@ private: void add_warning(const std::string &warning); void err(const std::string &err); + void compile_on_single_core(uint8_t port_id, + const std::vector &streams, + std::vector &objs, + uint8_t dp_core_count, + double factor, + GraphNodeMap &nodes, + bool all_continues); + + void compile_on_all_cores(uint8_t port_id, + const std::vector &streams, + std::vector &objs, + uint8_t dp_core_count, + double factor, + GraphNodeMap &nodes, + bool all_continues); + + void compile_stream(TrexStream *stream, double factor, uint8_t dp_core_count, @@ -131,7 +148,8 @@ private: void compile_stream_on_single_core(TrexStream *stream, double factor, - TrexStreamsCompiledObj *obj, + uint8_t dp_core_count, + std::vector &objs, int new_id, int new_next_id); -- cgit 1.2.3-korg