Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison ProcrContext.c @ 109:659299627e70
counters done
| author | Nina Engelhardt |
|---|---|
| date | Tue, 02 Aug 2011 17:16:12 +0200 |
| parents | 3bc3b89630c7 |
| children | b1817e2451b1 |
comparison
equal
deleted
inserted
replaced
| 2:ca125842b5ae | 3:7618ca5580a8 |
|---|---|
| 57 //struct timeval timeStamp; | 57 //struct timeval timeStamp; |
| 58 //gettimeofday( &(timeStamp), NULL); | 58 //gettimeofday( &(timeStamp), NULL); |
| 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 | 62 #ifdef MEAS__PERF_COUNTERS |
| 63 newPr->counter_history = VMS__malloc(10*sizeof(void*)); | |
| 64 newPr->counter_history_array_info = makePrivDynArrayInfoFrom(&(newPr->counter_history),10); | |
| 65 CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord)); | |
| 66 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); | |
| 67 #endif | |
| 63 //======================================================================== | 68 //======================================================================== |
| 64 | 69 |
| 65 return newPr; | 70 return newPr; |
| 66 } | 71 } |
