Commit c4396551 by Tobias Langer

Modified comments to be more verbose.

parent f7c2b4e0
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment