summaryrefslogtreecommitdiff
path: root/lib/element_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-12 21:37:49 -0700
committerJosh Blum2012-09-12 21:37:49 -0700
commitc7720bd1b740094636b0b66e6286f4c14961d31f (patch)
tree64887e53b7987af2ba4813d99b13487fffbb9679 /lib/element_impl.hpp
parent081b95b570e06c3130aaf979b0feaae159901c9b (diff)
downloadsandhi-c7720bd1b740094636b0b66e6286f4c14961d31f.tar.gz
sandhi-c7720bd1b740094636b0b66e6286f4c14961d31f.tar.bz2
sandhi-c7720bd1b740094636b0b66e6286f4c14961d31f.zip
added hooks for input buffer inlining
Diffstat (limited to 'lib/element_impl.hpp')
-rw-r--r--lib/element_impl.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/element_impl.hpp b/lib/element_impl.hpp
index 44125b1..01a9791 100644
--- a/lib/element_impl.hpp
+++ b/lib/element_impl.hpp
@@ -20,7 +20,7 @@
#include <gras_impl/debug.hpp>
#include <gras_impl/token.hpp>
#include <gras_impl/messages.hpp>
-#include <gras_impl/vector_of_queues.hpp>
+#include <gras_impl/output_buffer_queues.hpp>
#include <gras_impl/input_buffer_queues.hpp>
#include <gras_impl/interruptible_thread.hpp>
@@ -67,6 +67,7 @@ struct ElementImpl
std::vector<size_t> input_history_items;
std::vector<size_t> output_multiple_items;
std::vector<size_t> input_multiple_items;
+ std::vector<bool> input_inline_enables;
//keeps track of production
std::vector<uint64_t> items_consumed;
@@ -97,7 +98,7 @@ struct ElementImpl
//buffer queues and ready conditions
InputBufferQueues input_queues;
- VectorOfQueues<SBuffer> output_queues;
+ OutputBufferQueues<SBuffer> output_queues;
//tag tracking
std::vector<bool> input_tags_changed;