|
From: Marek P. <ma...@us...> - 2001-08-27 23:08:44
|
Update of /cvsroot/javaprofiler/library/src/cpu In directory usw-pr-cvs1:/tmp/cvs-serv27021/src/cpu Modified Files: cpuStatData.cpp sampling.cpp sampling.h Log Message: extension of communication interface for possibility to transfer information about Java monitors Index: cpuStatData.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/cpu/cpuStatData.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** cpuStatData.cpp 2001/08/24 17:54:04 1.4 --- cpuStatData.cpp 2001/08/27 23:08:41 1.5 *************** *** 14,19 **** b += pureTime; - setDataChanged(); - return b; } --- 14,17 ---- Index: sampling.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/cpu/sampling.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** sampling.cpp 2001/08/24 17:54:04 1.6 --- sampling.cpp 2001/08/27 23:08:41 1.7 *************** *** 41,45 **** #ifdef _DEBUG ! start = _prof->getMilliticks(); #endif --- 41,45 ---- #ifdef _DEBUG ! start = Delay::getMilliticks(); #endif *************** *** 72,78 **** } ! startTime = _prof->getMilliticks(); doOneSample(); ! endTime = _prof->getMilliticks(); #ifdef _DEBUG --- 72,78 ---- } ! startTime = Delay::getMilliticks(); doOneSample(); ! endTime = Delay::getMilliticks(); #ifdef _DEBUG *************** *** 96,100 **** if (_cmd != CMD_TURN_ON) continue; ! waitDelay.delay(waitTime); } } --- 96,100 ---- if (_cmd != CMD_TURN_ON) continue; ! Delay::delay(waitTime); } } Index: sampling.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/cpu/sampling.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** sampling.h 2001/08/24 17:54:04 1.6 --- sampling.h 2001/08/27 23:08:41 1.7 *************** *** 36,42 **** #endif - /// wait object - Delay waitDelay; - private: --- 36,39 ---- |