1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Add new block data to status line.

This commit is contained in:
Con Kolivas 2011-07-16 01:47:58 +10:00
parent ab6960014b
commit 3785e50d3f
2 changed files with 4 additions and 3 deletions

3
README
View File

@ -84,12 +84,13 @@ The efficiency defined as the accepted shares / requested work
The utility defines as the number of shares / minute
The cgminer status line shows:
TQ: 1 ST: 1 LS: 0 SS: 0 DW: 0 LW: 8 LO: 1 RF: 1 I: 2
TQ: 1 ST: 1 LS: 0 SS: 0 DW: 0 NB: 1 LW: 8 LO: 1 RF: 1 I: 2
TQ is Total Queued work items.
ST is STaged work items (ready to use).
LS is Longpoll Staged work items (mandatory new work)
DW is Discarded Work items (work from block no longer valid to work on)
NB is New Blocks detected on the network
LW is Locally generated Work items (during slow server providing work)
LO is Local generation Occasions (server slow to provide work)
RF is Remote Fail occasions (server slow to accept work)

4
main.c
View File

@ -561,8 +561,8 @@ static void curses_print_status(int thr_id)
wprintw(statuswin, " %s", statusline);
wclrtoeol(statuswin);
wmove(statuswin, 4,0);
wprintw(statuswin, " TQ: %d ST: %d LS: %d SS: %d DW: %d LW: %d LO: %d RF: %d I: %d",
total_queued, total_staged, lp_staged, stale_shares, discarded_work,
wprintw(statuswin, " TQ: %d ST: %d LS: %d SS: %d DW: %d NB: %d LW: %d LO: %d RF: %d I: %d",
total_queued, total_staged, lp_staged, stale_shares, discarded_work, new_blocks,
local_work, localgen_occasions, remotefail_occasions, scan_intensity);
wclrtoeol(statuswin);
wmove(statuswin, 5, 0);