diff options
author | Josh Blum | 2012-12-25 22:09:02 -0600 |
---|---|---|
committer | Josh Blum | 2012-12-25 22:09:02 -0600 |
commit | 449880a803d11d816f93f36a17d6d30b969a30c3 (patch) | |
tree | 35eab43652f52778b7adca81ec63b4ffbe3fd95a /lib/gras_impl | |
parent | 64ab3a982b7ae84be134b977bf6cb035f4be0e9e (diff) | |
download | sandhi-449880a803d11d816f93f36a17d6d30b969a30c3.tar.gz sandhi-449880a803d11d816f93f36a17d6d30b969a30c3.tar.bz2 sandhi-449880a803d11d816f93f36a17d6d30b969a30c3.zip |
added debug print for work and handler count
Diffstat (limited to 'lib/gras_impl')
-rw-r--r-- | lib/gras_impl/block_actor.hpp | 4 | ||||
-rw-r--r-- | lib/gras_impl/debug.hpp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/gras_impl/block_actor.hpp b/lib/gras_impl/block_actor.hpp index afc248e..24143a1 100644 --- a/lib/gras_impl/block_actor.hpp +++ b/lib/gras_impl/block_actor.hpp @@ -156,6 +156,10 @@ struct BlockActor : Apology::Worker long buffer_affinity; std::vector<std::vector<OutputHintMessage> > output_allocation_hints; + + //status keepers + size_t handle_task_count; + size_t work_count; }; } //namespace gras diff --git a/lib/gras_impl/debug.hpp b/lib/gras_impl/debug.hpp index a90eb6c..e0e7a35 100644 --- a/lib/gras_impl/debug.hpp +++ b/lib/gras_impl/debug.hpp @@ -25,9 +25,10 @@ extern void *operator new(std::size_t n) throw (std::bad_alloc); //-- define to enable these debugs: //---------------------------------------------------------------------- //#define WORK_DEBUG -//#define ASSERTING +#define ASSERTING //#define MESSAGE_TRACING //#define ITEM_CONSPROD +//#define WORK_COUNTS //---------------------------------------------------------------------- //-- time accumulation printer |