mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 11:56:33 -05:00
Clarify graph legend
This commit is contained in:
parent
c2079947e5
commit
94bfe2e4ae
1 changed files with 3 additions and 3 deletions
|
|
@ -3981,7 +3981,7 @@ static void state_progress_graph(struct snapraid_state* state, struct snapraid_i
|
||||||
bar = 30;
|
bar = 30;
|
||||||
|
|
||||||
if (io) {
|
if (io) {
|
||||||
const char* legend = "cached blocks (instant, higher is better)";
|
const char* legend = "cached blocks (instant, more is better)";
|
||||||
|
|
||||||
/* refresh the cached blocks info */
|
/* refresh the cached blocks info */
|
||||||
io_refresh(io);
|
io_refresh(io);
|
||||||
|
|
@ -4064,12 +4064,12 @@ static void state_progress_graph(struct snapraid_state* state, struct snapraid_i
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
if (oldest == PROGRESS_MAX) {
|
if (oldest == PROGRESS_MAX) {
|
||||||
const char* legend = "wait time (total)";
|
const char* legend = "wait time (total, less is better)";
|
||||||
printc(' ', 5 + pad + 1 + bar / 2 - strlen(legend) / 2);
|
printc(' ', 5 + pad + 1 + bar / 2 - strlen(legend) / 2);
|
||||||
printf("%s", legend);
|
printf("%s", legend);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
} else {
|
} else {
|
||||||
const char* legend_d = "wait time (%d secs, lower is better)";
|
const char* legend_d = "wait time (last %d secs, less is better)";
|
||||||
printc(' ', 5 + pad + 1 + bar / 2 - strlen(legend_d) / 2);
|
printc(' ', 5 + pad + 1 + bar / 2 - strlen(legend_d) / 2);
|
||||||
printf(legend_d, PROGRESS_MAX);
|
printf(legend_d, PROGRESS_MAX);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue