Commit 2786526d9f1acb7bd903ece3c822c2c9203aa0b7

Con Kolivas 2014-02-25T21:36:31

Add shed count to hfa API stats output.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/driver-hashfast.c b/driver-hashfast.c
index f06185b..b7dc348 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -1692,6 +1692,7 @@ static struct api_data *hfa_api_stats(struct cgpu_info *cgpu)
 	root = api_add_uint64(root, "raw hashcount", &info->raw_hashes, false);
 	root = api_add_uint64(root, "calc hashcount", &info->calc_hashes, false);
 	root = api_add_int(root, "no matching work", &info->no_matching_work, false);
+	root = api_add_uint16(root, "shed count", &info->shed_count, false);
 	root = api_add_int(root, "resets", &info->resets, false);
 
 	return root;