diff --git a/cgminer.c b/cgminer.c index 67ac1a06..0b10df66 100644 --- a/cgminer.c +++ b/cgminer.c @@ -4268,6 +4268,7 @@ static void stage_work(struct work *work) applog(LOG_DEBUG, "Pushing work from pool %d to hash queue", work->pool->pool_no); work->work_block = work_block; test_work_current(work); + work->pool->works++; hash_push(work); } diff --git a/miner.h b/miner.h index d0be71e1..f81f3d7d 100644 --- a/miner.h +++ b/miner.h @@ -1271,6 +1271,7 @@ struct pool { int quota; int quota_gcd; int quota_used; + int works; double diff_accepted; double diff_rejected;