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
1963c213
Commit
1963c213
authored
8 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
hide rid, tic, and toc behind an ifdef.
parent
ab94da0c
No related branches found
No related tags found
1 merge request
!273
Lean tasks
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/task.h
+8
-3
8 additions, 3 deletions
src/task.h
with
8 additions
and
3 deletions
src/task.h
+
8
−
3
View file @
1963c213
...
...
@@ -127,9 +127,6 @@ struct task {
/*! Weight of the task */
int
weight
;
/*! ID of the queue or runner owning this task */
short
int
rid
;
/*! Number of tasks unlocked by this one */
short
int
nr_unlock_tasks
;
...
...
@@ -150,6 +147,14 @@ struct task {
/*! Is this task implicit (i.e. does not do anything) ? */
char
implicit
;
#ifdef WITH_TASK_DEBUG
/*! ID of the queue or runner owning this task */
short
int
rid
;
/*! Start and end time of this task */
ticks
tic
,
toc
;
#endif
}
SWIFT_STRUCT_ALIGN
;
...
...
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