graph_x_title(g, "Time (secs)");
gg->read_iops = graph_add_label(g, "Read IOPS");
gg->write_iops = graph_add_label(g, "Write IOPS");
+ gg->trim_iops = graph_add_label(g, "Trim IOPS");
graph_set_color(g, gg->read_iops, 0.13, 0.54, 0.13);
graph_set_color(g, gg->write_iops, 1.0, 0.0, 0.0);
+ graph_set_color(g, gg->trim_iops, 0.24, 0.18, 0.52);
line_graph_set_data_count_limit(g, gfio_graph_limit);
graph_add_extra_space(g, 0.0, 0.0, 0.0, 0.0);
graph_set_graph_all_zeroes(g, 0);
graph_x_title(g, "Time (secs)");
gg->read_bw = graph_add_label(g, "Read Bandwidth");
gg->write_bw = graph_add_label(g, "Write Bandwidth");
+ gg->trim_bw = graph_add_label(g, "Trim Bandwidth");
graph_set_color(g, gg->read_bw, 0.13, 0.54, 0.13);
graph_set_color(g, gg->write_bw, 1.0, 0.0, 0.0);
+ graph_set_color(g, gg->trim_bw, 0.24, 0.18, 0.52);
graph_set_base_offset(g, 1);
line_graph_set_data_count_limit(g, 100);
graph_add_extra_space(g, 0.0, 0.0, 0.0, 0.0);
ge->eta.read_iops = new_info_entry_in_frame(probe_box, "IOPS");
ge->eta.write_bw = new_info_entry_in_frame(probe_box, "Write BW");
ge->eta.write_iops = new_info_entry_in_frame(probe_box, "IOPS");
+ ge->eta.trim_bw = new_info_entry_in_frame(probe_box, "Trim BW");
+ ge->eta.trim_iops = new_info_entry_in_frame(probe_box, "IOPS");
/*
* Only add this if we have a commit rate
ui->eta.read_iops = new_info_entry_in_frame(probe_box, "IOPS");
ui->eta.write_bw = new_info_entry_in_frame(probe_box, "Write BW");
ui->eta.write_iops = new_info_entry_in_frame(probe_box, "IOPS");
+ ui->eta.trim_bw = new_info_entry_in_frame(probe_box, "Trim BW");
+ ui->eta.trim_iops = new_info_entry_in_frame(probe_box, "IOPS");
+
/*
* Only add this if we have a commit rate