Browse Source

Merge branch 'main'

nfactor-troky
Kano 12 years ago
parent
commit
fd2034ce77
  1. 1
      cgminer.c
  2. 1
      miner.h

1
cgminer.c

@ -4186,6 +4186,7 @@ bool test_nonce(struct work *work, uint32_t nonce)
bool submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce) bool submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce)
{ {
total_diff1++; total_diff1++;
thr->cgpu->diff1++;
work->pool->diff1++; work->pool->diff1++;
/* Do one last check before attempting to submit the work */ /* Do one last check before attempting to submit the work */

1
miner.h

@ -396,6 +396,7 @@ struct cgpu_info {
int gpu_powertune; int gpu_powertune;
float gpu_vddc; float gpu_vddc;
#endif #endif
int diff1;
int last_share_pool; int last_share_pool;
time_t last_share_pool_time; time_t last_share_pool_time;

Loading…
Cancel
Save