comparison ProcrContext.c @ 129:ce02441b77cf

dependency tracking
author Nina Engelhardt
date Mon, 29 Aug 2011 19:12:06 +0200
parents fac1d896f6e9
children fe3ff53b55a6
comparison
equal deleted inserted replaced
5:b35275d7b5c9 6:7af01c54214f
59 //newPr->createPtInSecs = timeStamp.tv_sec +(timeStamp.tv_usec/1000000.0) - 59 //newPr->createPtInSecs = timeStamp.tv_sec +(timeStamp.tv_usec/1000000.0) -
60 // _VMSMasterEnv->createPtInSecs; 60 // _VMSMasterEnv->createPtInSecs;
61 #endif 61 #endif
62 #ifdef MEAS__PERF_COUNTERS 62 #ifdef MEAS__PERF_COUNTERS
63 newPr->counter_history = VMS__malloc(10*sizeof(void*)); 63 newPr->counter_history = VMS__malloc(10*sizeof(void*));
64 newPr->counter_history_array_info = makePrivDynArrayInfoFrom(&(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 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); 69 addToDynArray( (void*) newRecord, newPr->counter_history_array_info);