I have merged flipclip's pull request.
Time-limit [seconds] option, and benchmark results with a time-limit. From the Tpruvot fork.
ccminer -a quark --benchmark --time-limit 30 2>result.txt
please test
something's wrong:
[2015-09-11 09:56:38] GPU #4: Found nonce $D350388E
[2015-09-11 09:56:38] GPU #4: GeForce GTX 970, 16657
[2015-09-11 09:56:38] CPU #4: 16657 kH/s
[2015-09-11 09:56:43] GPU #2: Found nonce $691B5546
[2015-09-11 09:56:45] GPU #4: GeForce GTX 970, 4511
[2015-09-11 09:56:45] CPU #4: 4511 kH/s
[2015-09-11 09:56:51] GPU #2: GeForce GTX 970, 4124
[2015-09-11 09:56:53] GPU #4: Found nonce $DB37B291
[2015-09-11 09:56:53] GPU #4: GeForce GTX 970, 4129
[2015-09-11 09:56:53] CPU #4: 4129 kH/s
[2015-09-11 09:56:54] GPU #0: GeForce GTX 970, 4086
[2015-09-11 09:57:00] GPU #2: GeForce GTX 970, 4088
[2015-09-11 09:57:02] GPU #4: GeForce GTX 970, 4143
[2015-09-11 09:57:02] CPU #4: 4143 kH/s
[2015-09-11 09:57:02] Benchmark: 11.58 MH/s
11576858
only the first gpu hashrate reported is correct, all the others (including the benchmark) are way lower than real.
this is the second run:
[2015-09-11 09:58:44] GPU #0: Found nonce $0BF9370A
[2015-09-11 09:58:44] GPU #0: GeForce GTX 970, 4078
[2015-09-11 09:58:45] GPU #1: GeForce GTX 970, 4165
[2015-09-11 09:58:50] GPU #2: Found nonce $691B5546
[2015-09-11 09:58:51] GPU #1: Found nonce $3BD0F7B9
[2015-09-11 09:58:51] GPU #1: GeForce GTX 970, 4104
[2015-09-11 09:58:52] GPU #0: GeForce GTX 970, 4121
[2015-09-11 09:58:52] Benchmark: 0 H/s
0
the hashrates are reported wrong in non-benchmark mode as well:
[2015-09-11 10:01:58] GPU #0: GeForce GTX 970, 4127
[2015-09-11 10:02:02] GPU #1: GeForce GTX 970, 4221
[2015-09-11 10:02:06] GPU #0: GeForce GTX 970, 4147
[2015-09-11 10:02:06] accepted: 1/1 (100.00%), 8368 kH/s yes!
[2015-09-11 10:02:10] GPU #1: GeForce GTX 970, 4214
[2015-09-11 10:02:10] accepted: 2/2 (100.00%), 8362 kH/s yes!
[2015-09-11 10:02:19] GPU #0: GeForce GTX 970, 4153