Pārlūkot izejas kodu

print task kernel names too

Samuel Thibault 15 gadi atpakaļ
vecāks
revīzija
574f22a2e7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/profiling/bound.c

+ 1 - 1
src/profiling/bound.c

@@ -368,7 +368,7 @@ void starpu_bound_print_dot(FILE *output) {
 	}
 	fprintf(output, "strict digraph bounddeps {\n");
 	for (t = tasks; t; t = t->next) {
-		fprintf(output, "\"t%lu\"\n", t->id);
+		fprintf(output, "\"t%lu\" [label=\"%lu: %s\"]\n", t->id, t->id, t->cl->model->symbol);
 		for (i = 0; i < t->depsn; i++)
 			fprintf(output, "\"t%lu\" -> \"t%lu\"\n", t->deps[i]->id, t->id);
 	}