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
c4396551
authored
Oct 11, 2016
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified comments to be more verbose.
parent
f7c2b4e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
templates/normal/experiment.cpp
+4
-1
No files found.
templates/normal/experiment.cpp
View file @
c4396551
...
@@ -232,7 +232,10 @@ int main(int argc, char* argv[])
...
@@ -232,7 +232,10 @@ int main(int argc, char* argv[])
embb
::
mtapi
::
Node
::
Initialize
(
DOMAIN_ID
,
NODE_ID
,
attr
);
embb
::
mtapi
::
Node
::
Initialize
(
DOMAIN_ID
,
NODE_ID
,
attr
);
auto
&
node
=
embb
::
mtapi
::
Node
::
GetInstance
();
auto
&
node
=
embb
::
mtapi
::
Node
::
GetInstance
();
/* Initialize storage for benchmarking data */
/*
* Initialize storage for benchmarking data. By preallocating storage for
* every instance of every task, we don't need any synchornization.
*/
auto
hyperperiod
=
calculate_hyperperiod
();
auto
hyperperiod
=
calculate_hyperperiod
();
for
(
int
i
=
0
;
i
<
taskset_length
;
i
++
)
{
for
(
int
i
=
0
;
i
<
taskset_length
;
i
++
)
{
auto
job_count
=
hyperperiod
/
taskset
[
i
].
period
;
auto
job_count
=
hyperperiod
/
taskset
[
i
].
period
;
...
...
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