Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison ProcrContext.c @ 165:fe3ff53b55a6
initialization of unused fields in 1st VP task
| author | Nina Engelhardt |
|---|---|
| date | Wed, 28 Sep 2011 14:58:41 +0200 |
| parents | ce02441b77cf |
| children | 981acd1db6af |
comparison
equal
deleted
inserted
replaced
| 6:7af01c54214f | 8:49c7d669f888 |
|---|---|
| 64 newPr->counter_history_array_info = makePrivDynArrayInfoFrom((void*)&(newPr->counter_history),10); | 64 newPr->counter_history_array_info = makePrivDynArrayInfoFrom((void*)&(newPr->counter_history),10); |
| 65 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); | 65 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); |
| 66 newRecord->task_position = 0; | 66 newRecord->task_position = 0; |
| 67 newRecord->vp_id = newPr->procrID; | 67 newRecord->vp_id = newPr->procrID; |
| 68 newRecord->addr_of_libcall_for_req = fnPtr; | 68 newRecord->addr_of_libcall_for_req = fnPtr; |
| 69 newRecord->sc_done_cycles = 0; | |
| 70 newRecord->sc_done_instrs = 0; | |
| 71 newRecord->req_cycles = 0; | |
| 72 newRecord->req_instrs = 0; | |
| 69 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); | 73 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); |
| 70 #endif | 74 #endif |
| 71 //======================================================================== | 75 //======================================================================== |
| 72 | 76 |
| 73 return newPr; | 77 return newPr; |
