comparison MasterLoop.c @ 129:ce02441b77cf

dependency tracking
author Nina Engelhardt
date Mon, 29 Aug 2011 19:12:06 +0200
parents 73fc5aafbe45
children 5475f90c248a
comparison
equal deleted inserted replaced
31:c7db9d0e513c 35:05b9bfe65205
153 lastRecord->req_core = thisCoresIdx; 153 lastRecord->req_core = thisCoresIdx;
154 saveCyclesAndInstrs(thisCoresIdx,lastRecord->req_cycles,lastRecord->req_instrs); 154 saveCyclesAndInstrs(thisCoresIdx,lastRecord->req_cycles,lastRecord->req_instrs);
155 //End of task, start of next task 155 //End of task, start of next task
156 //print counters from last run 156 //print counters from last run
157 print_record_csv_to_file(lastRecord,_VMSMasterEnv->counteroutput); 157 print_record_csv_to_file(lastRecord,_VMSMasterEnv->counteroutput);
158 print_record_human_readable(lastRecord); 158 //print_record_human_readable(lastRecord);
159 //create new entry in record array 159 //create new entry in record array
160 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); 160 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord));
161 newRecord->req_core = thisCoresIdx; 161 newRecord->req_core = thisCoresIdx;
162 newRecord->vp_id = currSlot->procrAssignedToSlot->procrID; 162 newRecord->vp_id = currSlot->procrAssignedToSlot->procrID;
163 newRecord->task_position = lastRecord->task_position + 1; 163 newRecord->task_position = lastRecord->task_position + 1;