diff options
author | Josh Blum | 2013-02-12 21:43:27 -0800 |
---|---|---|
committer | Josh Blum | 2013-02-17 20:53:28 -0600 |
commit | 9191fbce9f4d161e4f871231469ef009c86f177f (patch) | |
tree | c03be55bdd4047db0b82d550d0f6c4bb38cec1ec /lib/block_handlers.cpp | |
parent | 93afc6bff6ce58c08d8ae4b1509f682a05a9c59d (diff) | |
download | sandhi-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.cpp | 1 |
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; |