diff options
author | Josh Blum | 2013-02-17 23:01:03 -0600 |
---|---|---|
committer | Josh Blum | 2013-02-17 23:01:03 -0600 |
commit | f8cca035aacf1578b99f6ffa1bb99ffb052ac27c (patch) | |
tree | 37f906338284ec6a48886079f4d8621549b0971b /lib/gras_impl/stats.hpp | |
parent | afd0575bc2eef7f2a97c8ce4cadb328ceb491d10 (diff) | |
download | sandhi-f8cca035aacf1578b99f6ffa1bb99ffb052ac27c.tar.gz sandhi-f8cca035aacf1578b99f6ffa1bb99ffb052ac27c.tar.bz2 sandhi-f8cca035aacf1578b99f6ffa1bb99ffb052ac27c.zip |
gras: added stats for produced/consumed
Diffstat (limited to 'lib/gras_impl/stats.hpp')
-rw-r--r-- | lib/gras_impl/stats.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/gras_impl/stats.hpp b/lib/gras_impl/stats.hpp index 138b231..9c9c8e1 100644 --- a/lib/gras_impl/stats.hpp +++ b/lib/gras_impl/stats.hpp @@ -4,6 +4,7 @@ #define INCLUDED_LIBGRAS_IMPL_STATS_HPP #include <gras/chrono.hpp> +#include <vector> namespace gras { @@ -13,7 +14,12 @@ struct BlockStats time_ticks_t start_time; time_ticks_t stop_time; - size_t work_count; + std::vector<item_index_t> items_consumed; + std::vector<item_index_t> tags_consumed; + std::vector<item_index_t> items_produced; + std::vector<item_index_t> tags_produced; + + item_index_t work_count; time_ticks_t time_last_work; time_ticks_t total_time_work; time_ticks_t total_time_work_other; |