Lines Matching refs:rate_str
392 char *rate_str[DDIR_RWDIR_CNT]; local
403 rate_str[0] = num2str(je->rate[0], 5, 10, i2p, 0);
404 rate_str[1] = num2str(je->rate[1], 5, 10, i2p, 0);
405 rate_str[2] = num2str(je->rate[2], 5, 10, i2p, 0);
411 gtk_entry_set_text(GTK_ENTRY(ge->eta.read_bw), rate_str[0]);
413 gtk_entry_set_text(GTK_ENTRY(ge->eta.write_bw), rate_str[1]);
415 gtk_entry_set_text(GTK_ENTRY(ge->eta.trim_bw), rate_str[2]);
421 …xy_data(ge->graphs.bandwidth_graph, ge->graphs.read_bw, je->elapsed_sec, je->rate[0], rate_str[0]);
422 …y_data(ge->graphs.bandwidth_graph, ge->graphs.write_bw, je->elapsed_sec, je->rate[1], rate_str[1]);
423 …xy_data(ge->graphs.bandwidth_graph, ge->graphs.trim_bw, je->elapsed_sec, je->rate[2], rate_str[2]);
426 free(rate_str[i]);
487 char *rate_str[3]; local
497 rate_str[0] = num2str(je->rate[0], 5, 10, i2p, 0);
498 rate_str[1] = num2str(je->rate[1], 5, 10, i2p, 0);
499 rate_str[2] = num2str(je->rate[2], 5, 10, i2p, 0);
505 gtk_entry_set_text(GTK_ENTRY(ui->eta.read_bw), rate_str[0]);
507 gtk_entry_set_text(GTK_ENTRY(ui->eta.write_bw), rate_str[1]);
509 gtk_entry_set_text(GTK_ENTRY(ui->eta.trim_bw), rate_str[2]);
515 …xy_data(ui->graphs.bandwidth_graph, ui->graphs.read_bw, je->elapsed_sec, je->rate[0], rate_str[0]);
516 …y_data(ui->graphs.bandwidth_graph, ui->graphs.write_bw, je->elapsed_sec, je->rate[1], rate_str[1]);
517 …xy_data(ui->graphs.bandwidth_graph, ui->graphs.trim_bw, je->elapsed_sec, je->rate[2], rate_str[2]);
520 free(rate_str[i]);