|
|
|
@ -2026,9 +2026,11 @@ static void text_print_status(int thr_id)
@@ -2026,9 +2026,11 @@ static void text_print_status(int thr_id)
|
|
|
|
|
struct cgpu_info *cgpu = thr_info[thr_id].cgpu; |
|
|
|
|
char logline[255]; |
|
|
|
|
|
|
|
|
|
if (cgpu) { |
|
|
|
|
get_statline(logline, cgpu); |
|
|
|
|
printf("%s\n", logline); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Must be called with curses mutex lock held and curses_active */ |
|
|
|
|
static void curses_print_status(void) |
|
|
|
@ -5339,9 +5341,11 @@ static void log_print_status(int thr_id)
@@ -5339,9 +5341,11 @@ static void log_print_status(int thr_id)
|
|
|
|
|
char logline[255]; |
|
|
|
|
|
|
|
|
|
cgpu = thr_info[thr_id].cgpu; |
|
|
|
|
if (cgpu) { |
|
|
|
|
get_statline(logline, cgpu); |
|
|
|
|
applog(LOG_WARNING, "%s", logline); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void print_summary(void) |
|
|
|
|
{ |
|
|
|
|