comparison ProcrContext.c @ 113:43ea731da94e

.dat->.csv
author Nina Engelhardt
date Wed, 17 Aug 2011 11:46:05 +0200
parents b1817e2451b1
children ce02441b77cf
comparison
equal deleted inserted replaced
4:41145a6165ef 5:b35275d7b5c9
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(&(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;
68 newRecord->addr_of_libcall_for_req = fnPtr;
67 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); 69 addToDynArray( (void*) newRecord, newPr->counter_history_array_info);
68 #endif 70 #endif
69 //======================================================================== 71 //========================================================================
70 72
71 return newPr; 73 return newPr;