浏览代码

print task kernel names too

Samuel Thibault 15 年之前
父节点
当前提交
574f22a2e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 	}