Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Tobias Langer
/
experiment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
73b26540
authored
Oct 11, 2016
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed type name.
parent
c7b11f62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
templates/normal/experiment.cpp
+2
-2
No files found.
templates/normal/experiment.cpp
View file @
73b26540
...
@@ -116,8 +116,8 @@ static void IdleTask(const void* args, mtapi_size_t, void*, mtapi_size_t,
...
@@ -116,8 +116,8 @@ static void IdleTask(const void* args, mtapi_size_t, void*, mtapi_size_t,
auto
end_time
=
base_clock
::
now
();
auto
end_time
=
base_clock
::
now
();
int
core_id
=
sched_getcpu
();
int
core_id
=
sched_getcpu
();
benchmark
[
task_id
][
task_num
-
1
].
start
=
duration_cast
<
cpp_
base_tim
e
>
(
start_time
-
start
);
benchmark
[
task_id
][
task_num
-
1
].
start
=
duration_cast
<
cpp_
time_bas
e
>
(
start_time
-
start
);
benchmark
[
task_id
][
task_num
-
1
].
end
=
duration_cast
<
cpp_
base_tim
e
>
(
end_time
-
start
);
benchmark
[
task_id
][
task_num
-
1
].
end
=
duration_cast
<
cpp_
time_bas
e
>
(
end_time
-
start
);
benchmark
[
task_id
][
task_num
-
1
].
core_id
=
core_id
;
benchmark
[
task_id
][
task_num
-
1
].
core_id
=
core_id
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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