projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gfio: clear graphs for repeated runs on same connection
[fio.git]
/
graph.c
diff --git
a/graph.c
b/graph.c
index 7a35736b7ab02a796f935f7dcd931a0feb096e72..7a7c7925c55fa35da4c857ecb46eaf154de84da7 100644
(file)
--- a/
graph.c
+++ b/
graph.c
@@
-853,6
+853,17
@@
static void graph_free_labels(struct graph *g)
}
}
}
}
+void graph_clear_values(struct graph *g)
+{
+ struct flist_head *node;
+ struct graph_label *i;
+
+ flist_for_each(node, &g->label_list) {
+ i = flist_entry(node, struct graph_label, list);
+ graph_free_values(i);
+ }
+}
+
void graph_set_color(struct graph *gr, graph_label_t label, double red,
double green, double blue)
{
void graph_set_color(struct graph *gr, graph_label_t label, double red,
double green, double blue)
{