Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison ProcrContext.c @ 111:b1817e2451b1
add task # to counter stats
| author | Nina Engelhardt |
|---|---|
| date | Fri, 05 Aug 2011 18:03:07 +0200 |
| parents | 659299627e70 |
| children | fac1d896f6e9 |
comparison
equal
deleted
inserted
replaced
| 3:7618ca5580a8 | 4:41145a6165ef |
|---|---|
| 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(&(newPr->counter_history),10); |
| 65 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); | 65 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); |
| 66 newRecord->task_position = 0; | |
| 66 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); | 67 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); |
| 67 #endif | 68 #endif |
| 68 //======================================================================== | 69 //======================================================================== |
| 69 | 70 |
| 70 return newPr; | 71 return newPr; |
