Skip to content
Snippets Groups Projects
Commit 854cff0a authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

scheduler_print_tasks.

parent 54a86f47
No related branches found
No related tags found
2 merge requests!136Master,!123Local variable cleanup
......@@ -1364,7 +1364,7 @@ void scheduler_init(struct scheduler *s, struct space *space, int nr_tasks,
* @param s The #scheduler
* @param fileName Name of the file to write to
*/
void scheduler_print_tasks(struct scheduler *s, char *fileName) {
void scheduler_print_tasks(const struct scheduler *s, const char *fileName) {
const int nr_tasks = s->nr_tasks, *tid = s->tasks_ind;
struct task *t, *tasks = s->tasks;
......
......@@ -128,7 +128,7 @@ struct task *scheduler_unlock(struct scheduler *s, struct task *t);
void scheduler_addunlock(struct scheduler *s, struct task *ta, struct task *tb);
void scheduler_set_unlocks(struct scheduler *s);
void scheduler_dump_queue(struct scheduler *s);
void scheduler_print_tasks(struct scheduler *s, char *fileName);
void scheduler_print_tasks(const struct scheduler *s, const char *fileName);
void scheduler_do_rewait(struct task *t_begin, struct task *t_end,
unsigned int mask, unsigned int submask);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment