From c4396551c529321d540af583ace6876ff0e54825 Mon Sep 17 00:00:00 2001 From: Tobias Langer Date: Tue, 11 Oct 2016 21:27:24 +0200 Subject: [PATCH] Modified comments to be more verbose. --- templates/normal/experiment.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/normal/experiment.cpp b/templates/normal/experiment.cpp index 8558a46..c3246f0 100644 --- a/templates/normal/experiment.cpp +++ b/templates/normal/experiment.cpp @@ -232,7 +232,10 @@ int main(int argc, char* argv[]) embb::mtapi::Node::Initialize(DOMAIN_ID, NODE_ID, attr); 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(); for(int i = 0; i < taskset_length; i++) { auto job_count = hyperperiod / taskset[i].period; -- libgit2 0.26.0