summaryrefslogtreecommitdiff
path: root/lib/block_produce.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-16 01:11:33 -0700
committerJosh Blum2013-06-16 01:11:33 -0700
commit02dc3982a0125fcfb675c20bd0aa3a33459d8141 (patch)
treeaad3863a92862c30cab6d2f23315a50ef973f1a9 /lib/block_produce.cpp
parent0ffbd03845c8bbfdefdbc47714336cdf2e412615 (diff)
downloadsandhi-02dc3982a0125fcfb675c20bd0aa3a33459d8141.tar.gz
sandhi-02dc3982a0125fcfb675c20bd0aa3a33459d8141.tar.bz2
sandhi-02dc3982a0125fcfb675c20bd0aa3a33459d8141.zip
gras: also set num_output_items_read in post_output_buffer
Diffstat (limited to 'lib/block_produce.cpp')
-rw-r--r--lib/block_produce.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/block_produce.cpp b/lib/block_produce.cpp
index 32df6fa..8ffd9bf 100644
--- a/lib/block_produce.cpp
+++ b/lib/block_produce.cpp
@@ -50,6 +50,7 @@ void Block::post_output_buffer(const size_t which_output, const SBuffer &buffer)
InputBufferMessage buff_msg;
buff_msg.buffer = buffer;
(*this)->worker->post_downstream(which_output, buff_msg);
+ data->num_output_items_read[which_output] += items;
}
GRAS_FORCE_INLINE void BlockActor::produce(const size_t i, const size_t items)