summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-02-12 21:43:27 -0800
committerJosh Blum2013-02-17 20:53:28 -0600
commit9191fbce9f4d161e4f871231469ef009c86f177f (patch)
treec03be55bdd4047db0b82d550d0f6c4bb38cec1ec /lib/block_handlers.cpp
parent93afc6bff6ce58c08d8ae4b1509f682a05a9c59d (diff)
downloadsandhi-9191fbce9f4d161e4f871231469ef009c86f177f.tar.gz
sandhi-9191fbce9f4d161e4f871231469ef009c86f177f.tar.bz2
sandhi-9191fbce9f4d161e4f871231469ef009c86f177f.zip
gras: working on block stats
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index 215be6d..f7a6e9e 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -16,6 +16,7 @@ void BlockActor::handle_top_active(
if (this->block_state != BLOCK_STATE_LIVE)
{
this->block_ptr->start();
+ this->stats.start_time = time_now();
}
this->block_state = BLOCK_STATE_LIVE;
this->active_token = message.token;