diff options
author | Josh Blum | 2013-06-16 01:11:33 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-16 01:11:33 -0700 |
commit | 02dc3982a0125fcfb675c20bd0aa3a33459d8141 (patch) | |
tree | aad3863a92862c30cab6d2f23315a50ef973f1a9 /lib/block_produce.cpp | |
parent | 0ffbd03845c8bbfdefdbc47714336cdf2e412615 (diff) | |
download | sandhi-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.cpp | 1 |
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) |