diff options
author | Josh Blum | 2013-04-29 01:02:45 -0700 |
---|---|---|
committer | Josh Blum | 2013-04-29 01:02:45 -0700 |
commit | ea9e1357a550d1291fe145e4842d154674159533 (patch) | |
tree | 738d47e3b163cb6f06f7b3f93c510d61439be5b6 /lib | |
parent | 3b3167601d6b97362773a940dae17b503a63783d (diff) | |
download | sandhi-ea9e1357a550d1291fe145e4842d154674159533.tar.gz sandhi-ea9e1357a550d1291fe145e4842d154674159533.tar.bz2 sandhi-ea9e1357a550d1291fe145e4842d154674159533.zip |
quick stashies
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/gras_impl/block_actor.hpp | 2 | ||||
-rw-r--r-- | lib/gras_impl/stats.hpp | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index ba7e76e..3de28c7 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -62,7 +62,7 @@ list(APPEND GRAS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/top_block.cpp ${CMAKE_CURRENT_SOURCE_DIR}/top_block_query.cpp ${CMAKE_CURRENT_SOURCE_DIR}/register_messages.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/theron_allocator.cpp + #${CMAKE_CURRENT_SOURCE_DIR}/theron_allocator.cpp ${CMAKE_CURRENT_SOURCE_DIR}/weak_container.cpp ) diff --git a/lib/gras_impl/block_actor.hpp b/lib/gras_impl/block_actor.hpp index 5444bb0..502f974 100644 --- a/lib/gras_impl/block_actor.hpp +++ b/lib/gras_impl/block_actor.hpp @@ -129,6 +129,8 @@ struct BlockActor : Apology::Worker OutputBufferQueues output_queues; std::vector<bool> produce_outputs; BitSet inputs_available; + std::vector<time_ticks_t> time_input_not_ready; + std::vector<time_ticks_t> time_output_not_ready; //tag and msg tracking std::vector<bool> input_tags_changed; diff --git a/lib/gras_impl/stats.hpp b/lib/gras_impl/stats.hpp index 7edab29..d9e2341 100644 --- a/lib/gras_impl/stats.hpp +++ b/lib/gras_impl/stats.hpp @@ -37,6 +37,10 @@ struct BlockStats std::vector<item_index_t> tags_produced; std::vector<item_index_t> msgs_produced; + //port starvation tracking + std::vector<time_ticks_t> inputs_idle; + std::vector<time_ticks_t> outputs_idle; + //instantaneous port status std::vector<size_t> items_enqueued; std::vector<size_t> msgs_enqueued; |