diff --git a/templates/normal/experiment.cpp b/templates/normal/experiment.cpp index ec64f6f..81ded12 100644 --- a/templates/normal/experiment.cpp +++ b/templates/normal/experiment.cpp @@ -116,8 +116,8 @@ static void IdleTask(const void* args, mtapi_size_t, void*, mtapi_size_t, auto end_time = base_clock::now(); int core_id = sched_getcpu(); - benchmark[task_id][task_num - 1].start = duration_cast(start_time - start); - benchmark[task_id][task_num - 1].end = duration_cast(end_time - start); + benchmark[task_id][task_num - 1].start = duration_cast(start_time - start); + benchmark[task_id][task_num - 1].end = duration_cast(end_time - start); benchmark[task_id][task_num - 1].core_id = core_id; }