comparison ProcrContext.c @ 156:b86c54dfb19f

smaller Hists for malloc, free and plugin
author Merten Sach <msach@mailbox.tu-berlin.de>
date Thu, 06 Oct 2011 15:55:42 +0200
parents fe5ec83f1baf
children 3bc3b89630c7 a9b72021f053 bfaebdf60df3 6db9e4898978
comparison
equal deleted inserted replaced
0:e6029b4269b3 1:6d46f19f50e5
52 newPr->stackPtr = stackPtr; //core loop will switch to this, then 52 newPr->stackPtr = stackPtr; //core loop will switch to this, then
53 newPr->framePtr = stackPtr; //suspend loop will save new stack & frame ptr 53 newPr->framePtr = stackPtr; //suspend loop will save new stack & frame ptr
54 54
55 //============================= MEASUREMENT STUFF ======================== 55 //============================= MEASUREMENT STUFF ========================
56 #ifdef STATS__TURN_ON_PROBES 56 #ifdef STATS__TURN_ON_PROBES
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 //========================================================================
63 63
64 return newPr; 64 return newPr;
65 } 65 }