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
43d6ac69
Commit
43d6ac69
authored
Apr 17, 2017
by
Matthieu Schaller
Browse files
Re-enabled individual task timers.
parent
a25a25c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timers.c
View file @
43d6ac69
...
...
@@ -83,12 +83,9 @@ char *timers_names[timer_count] = {
*
* To reset all timers, use the mask #timers_mask_all.
*/
void
timers_reset
(
unsigned
long
long
mask
)
{
int
k
;
/* Loop over the timers and set the masked ones to zero. */
for
(
k
=
0
;
k
<
timer_count
;
k
++
)
for
(
int
k
=
0
;
k
<
timer_count
;
k
++
)
if
(
mask
&
(
1ull
<<
k
))
timers
[
k
]
=
0
;
}
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