Lines Matching refs:je

344 static void gfio_update_client_eta(struct fio_client *client, struct jobs_eta *je)  argument
360 if (je->eta_sec != INT_MAX && je->elapsed_sec) {
361 perc = (double) je->elapsed_sec / (double) (je->elapsed_sec + je->eta_sec);
362 eta_to_str(eta_str, je->eta_sec);
365 sprintf(tmp, "%u", je->nr_running);
367 sprintf(tmp, "%u", je->files_open);
371 if (je->m_rate[0] || je->m_rate[1] || je->t_rate[0] || je->t_rate[1]) {
372 if (je->m_rate || je->t_rate) {
375 mr = num2str(je->m_rate, 4, 0, i2p);
376 tr = num2str(je->t_rate, 4, 0, i2p);
381 } else if (je->m_iops || je->t_iops)
382 p += sprintf(p, ", CR=%d/%d IOPS", je->t_iops, je->m_iops);
390 if (je->eta_sec != INT_MAX && je->nr_running) {
395 if ((!je->eta_sec && !eta_good) || je->nr_ramp == je->nr_running)
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);
407 iops_str[0] = num2str(je->iops[0], 4, 1, 0, 0);
408 iops_str[1] = num2str(je->iops[1], 4, 1, 0, 0);
409 iops_str[2] = num2str(je->iops[2], 4, 1, 0, 0);
418 …graph_add_xy_data(ge->graphs.iops_graph, ge->graphs.read_iops, je->elapsed_sec, je->iops[0], iops_…
419 …graph_add_xy_data(ge->graphs.iops_graph, ge->graphs.write_iops, je->elapsed_sec, je->iops[1], iops…
420 …graph_add_xy_data(ge->graphs.iops_graph, ge->graphs.trim_iops, je->elapsed_sec, je->iops[2], iops_…
421 …graph_add_xy_data(ge->graphs.bandwidth_graph, ge->graphs.read_bw, je->elapsed_sec, je->rate[0], ra…
422 …graph_add_xy_data(ge->graphs.bandwidth_graph, ge->graphs.write_bw, je->elapsed_sec, je->rate[1], r…
423 …graph_add_xy_data(ge->graphs.bandwidth_graph, ge->graphs.trim_bw, je->elapsed_sec, je->rate[2], ra…
444 static void gfio_update_all_eta(struct jobs_eta *je) argument
458 if (je->eta_sec != INT_MAX && je->elapsed_sec) {
459 perc = (double) je->elapsed_sec / (double) (je->elapsed_sec + je->eta_sec);
460 eta_to_str(eta_str, je->eta_sec);
464 if (je->m_rate[0] || je->m_rate[1] || je->t_rate[0] || je->t_rate[1]) {
465 if (je->m_rate || je->t_rate) {
468 mr = num2str(je->m_rate, 4, 0, i2p);
469 tr = num2str(je->t_rate, 4, 0, i2p);
474 } else if (je->m_iops || je->t_iops)
475 p += sprintf(p, ", CR=%d/%d IOPS", je->t_iops, je->m_iops);
483 entry_set_int_value(ui->eta.jobs, je->nr_running);
485 if (je->eta_sec != INT_MAX && je->nr_running) {
489 if ((!je->eta_sec && !eta_good) || je->nr_ramp == je->nr_running)
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);
501 iops_str[0] = num2str(je->iops[0], 4, 1, 0, 0);
502 iops_str[1] = num2str(je->iops[1], 4, 1, 0, 0);
503 iops_str[2] = num2str(je->iops[2], 4, 1, 0, 0);
512 …graph_add_xy_data(ui->graphs.iops_graph, ui->graphs.read_iops, je->elapsed_sec, je->iops[0], iops_…
513 …graph_add_xy_data(ui->graphs.iops_graph, ui->graphs.write_iops, je->elapsed_sec, je->iops[1], iops…
514 …graph_add_xy_data(ui->graphs.iops_graph, ui->graphs.trim_iops, je->elapsed_sec, je->iops[2], iops_…
515 …graph_add_xy_data(ui->graphs.bandwidth_graph, ui->graphs.read_bw, je->elapsed_sec, je->rate[0], ra…
516 …graph_add_xy_data(ui->graphs.bandwidth_graph, ui->graphs.write_bw, je->elapsed_sec, je->rate[1], r…
517 …graph_add_xy_data(ui->graphs.bandwidth_graph, ui->graphs.trim_bw, je->elapsed_sec, je->rate[2], ra…