diff options
author | Josh Blum | 2013-02-25 03:16:25 -0800 |
---|---|---|
committer | Josh Blum | 2013-02-25 03:16:25 -0800 |
commit | f07fdbc4b6bc65846438b4923ee3d265ab87a970 (patch) | |
tree | e313492d3e07f6efb80f16da418cdb9ba2e491bc /lib/block_handlers.cpp | |
parent | 0a8e905e35e181972737862da74143f8852d5300 (diff) | |
download | sandhi-f07fdbc4b6bc65846438b4923ee3d265ab87a970.tar.gz sandhi-f07fdbc4b6bc65846438b4923ee3d265ab87a970.tar.bz2 sandhi-f07fdbc4b6bc65846438b4923ee3d265ab87a970.zip |
gras: work on new port config API
combined item size config into port config
removed set/get, its just a set by reference,
this simplified a lot of client code
Commit call will apply the changes at runtime.
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r-- | lib/block_handlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp index 73a22da..a6d49bb 100644 --- a/lib/block_handlers.cpp +++ b/lib/block_handlers.cpp @@ -55,7 +55,7 @@ void BlockActor::handle_top_token( //TODO, schedule this message as a pre-allocation message //tell the upstream about the input requirements OutputHintMessage output_hints; - output_hints.reserve_bytes = this->input_configs[i].reserve_items*this->input_items_sizes[i]; + output_hints.reserve_bytes = this->input_configs[i].reserve_items*this->input_configs[i].item_size; output_hints.token = this->input_tokens[i]; this->post_upstream(i, output_hints); |