summaryrefslogtreecommitdiff
path: root/lib/gras_impl/stats.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-03-25 02:03:19 -0500
committerJosh Blum2013-03-25 02:03:19 -0500
commit8b24a30ef875d9fcfa419d9a99c709f32602de94 (patch)
tree24bd316532f852eb230fb4cf6b3ae6752eae27f1 /lib/gras_impl/stats.hpp
parent74b41e15aff63a279d8c1b040d70c7493f104432 (diff)
downloadsandhi-8b24a30ef875d9fcfa419d9a99c709f32602de94.tar.gz
sandhi-8b24a30ef875d9fcfa419d9a99c709f32602de94.tar.bz2
sandhi-8b24a30ef875d9fcfa419d9a99c709f32602de94.zip
gras: added io total counts chart
Diffstat (limited to 'lib/gras_impl/stats.hpp')
-rw-r--r--lib/gras_impl/stats.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gras_impl/stats.hpp b/lib/gras_impl/stats.hpp
index b7b4553..3f78b8d 100644
--- a/lib/gras_impl/stats.hpp
+++ b/lib/gras_impl/stats.hpp
@@ -13,6 +13,7 @@ struct BlockStats
{
BlockStats(void)
{
+ init_time = time_now();
start_time = 0;
stop_time = 0;
work_count = 0;
@@ -24,6 +25,7 @@ struct BlockStats
total_time_output = 0;
}
+ time_ticks_t init_time;
time_ticks_t start_time;
time_ticks_t stop_time;