Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff MasterLoop.c @ 111:b1817e2451b1
add task # to counter stats
| author | Nina Engelhardt |
|---|---|
| date | Fri, 05 Aug 2011 18:03:07 +0200 |
| parents | 724c7a0b687f |
| children | fac1d896f6e9 |
line diff
1.1 --- a/MasterLoop.c Wed Aug 03 17:05:18 2011 +0200 1.2 +++ b/MasterLoop.c Fri Aug 05 18:03:07 2011 +0200 1.3 @@ -159,6 +159,7 @@ 1.4 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); 1.5 newRecord->req_core = thisCoresIdx; 1.6 newRecord->vp_id = currSlot->procrAssignedToSlot->procrID; 1.7 + newRecord->task_position = lastRecord->task_position + 1; 1.8 getReturnAddressBeforeLibraryCall(currSlot->procrAssignedToSlot, &(newRecord->addr_of_libcall_for_req)); 1.9 addToDynArray( (void*) newRecord, currSlot->procrAssignedToSlot->counter_history_array_info); 1.10 lastRecord = newRecord;
