summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-11-01 21:15:03 -0700
committerJosh Blum2012-11-01 21:15:03 -0700
commitb22c63e756d50723188fdd25983868ea1f67bd05 (patch)
tree8c2f8672ca8e4284b9cd250d85b235011fc3d675 /lib/block_handlers.cpp
parent1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb (diff)
downloadsandhi-b22c63e756d50723188fdd25983868ea1f67bd05.tar.gz
sandhi-b22c63e756d50723188fdd25983868ea1f67bd05.tar.bz2
sandhi-b22c63e756d50723188fdd25983868ea1f67bd05.zip
moved out a bunch of work, rate, fcast logic
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index 6140d40..e35733b 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -68,7 +68,7 @@ void BlockActor::handle_top_token(
//tell the upstream about the input requirements
OutputHintMessage output_hints;
output_hints.history_bytes = this->input_configs[i].lookahead_items*this->input_items_sizes[i];
- output_hints.reserve_bytes = size_t(std::ceil(this->output_multiple_items/this->relative_rate));
+ output_hints.reserve_bytes = 1; //TODO what do we want here, and so we like these hints at all?
output_hints.token = this->input_tokens[i];
this->post_upstream(i, output_hints);