Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
854cff0a
Commit
854cff0a
authored
9 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
scheduler_print_tasks.
parent
54a86f47
No related branches found
No related tags found
2 merge requests
!136
Master
,
!123
Local variable cleanup
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/scheduler.c
+1
-1
1 addition, 1 deletion
src/scheduler.c
src/scheduler.h
+1
-1
1 addition, 1 deletion
src/scheduler.h
with
2 additions
and
2 deletions
src/scheduler.c
+
1
−
1
View file @
854cff0a
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
src/scheduler.h
+
1
−
1
View file @
854cff0a
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment