Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison MasterLoop.c @ 130:5475f90c248a
fix outputs (dependency file creation, counter length)
| author | Nina Engelhardt |
|---|---|
| date | Wed, 07 Sep 2011 13:26:30 +0200 |
| parents | ce02441b77cf |
| children | 395f58384a5c |
comparison
equal
deleted
inserted
replaced
| 35:05b9bfe65205 | 36:6fb9470ac53d |
|---|---|
| 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 | |
| 159 Dependency* newd = new_dependency(currSlot->procrAssignedToSlot->procrID,lastRecord->task_position,currSlot->procrAssignedToSlot->procrID,lastRecord->task_position + 1); | |
| 160 addToDynArray((void*) newd ,masterEnv->dependenciesInfo); | |
| 161 | |
| 158 //print_record_human_readable(lastRecord); | 162 //print_record_human_readable(lastRecord); |
| 159 //create new entry in record array | 163 //create new entry in record array |
| 160 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); | 164 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); |
| 161 newRecord->req_core = thisCoresIdx; | 165 newRecord->req_core = thisCoresIdx; |
| 162 newRecord->vp_id = currSlot->procrAssignedToSlot->procrID; | 166 newRecord->vp_id = currSlot->procrAssignedToSlot->procrID; |
