Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
de31a223
Commit
de31a223
authored
Nov 14, 2017
by
Matthieu Schaller
Browse files
Add label to task-graph with git revision
parent
05645d2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scheduler.c
View file @
de31a223
...
...
@@ -51,6 +51,7 @@
#include
"task.h"
#include
"timers.h"
#include
"tools.h"
#include
"version.h"
/**
* @brief Re-set the list of active tasks.
...
...
@@ -149,6 +150,7 @@ void scheduler_write_dependencies(struct scheduler *s, int verbose) {
/* Write header */
fprintf
(
f
,
"digraph task_dep {
\n
"
);
fprintf
(
f
,
"label=
\"
Task dependencies for SWIFT %s
\"
"
,
git_revision
());
fprintf
(
f
,
"
\t
compound=true;
\n
"
);
fprintf
(
f
,
"
\t
ratio=0.66;
\n
"
);
fprintf
(
f
,
"
\t
node[nodesep=0.15];
\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment