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
5bf1cecf
Commit
5bf1cecf
authored
Feb 05, 2019
by
Matthieu Schaller
Browse files
Type casting of the tic/toc before output to the task debugging files.
parent
1c49092e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/task.c
View file @
5bf1cecf
...
...
@@ -794,7 +794,8 @@ void task_dump_all(struct engine *e, int step) {
/* Add some information to help with the plots and conversion of ticks to
* seconds. */
fprintf
(
file_thread
,
" %d %d %d %d %lld %lld %lld %lld %lld %d %lld
\n
"
,
-
2
,
-
1
,
-
1
,
1
,
e
->
tic_step
,
e
->
toc_step
,
e
->
updates
,
e
->
g_updates
,
-
1
,
-
1
,
1
,
(
unsigned
long
long
)
e
->
tic_step
,
(
unsigned
long
long
)
e
->
toc_step
,
e
->
updates
,
e
->
g_updates
,
e
->
s_updates
,
0
,
cpufreq
);
for
(
int
l
=
0
;
l
<
e
->
sched
.
nr_tasks
;
l
++
)
{
if
(
!
e
->
sched
.
tasks
[
l
].
implicit
&&
e
->
sched
.
tasks
[
l
].
toc
!=
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