You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(73) |
Sep
(92) |
Oct
(9) |
Nov
(80) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(92) |
Feb
(52) |
Mar
(71) |
Apr
(64) |
May
(53) |
Jun
(10) |
Jul
(111) |
Aug
(93) |
Sep
(134) |
Oct
|
Nov
|
Dec
|
From: Marek P. <ma...@us...> - 2001-08-12 07:35:35
|
Update of /cvsroot/javaprofiler/library/src/commun3 In directory usw-pr-cvs1:/tmp/cvs-serv724/src/commun3 Modified Files: communShMem.cpp communShMem.h sharedMemory.h Log Message: changes in library setups; now, library can run in server or client mode (java part not implemented yet) Index: communShMem.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun3/communShMem.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** communShMem.cpp 2001/08/09 23:22:55 1.1 --- communShMem.cpp 2001/08/12 07:35:31 1.2 *************** *** 6,9 **** --- 6,10 ---- void* p = _shmem.getAddress(); + int shmemSize = _shmem.getSize(); jint size = ntohl( *(jint*)p); *************** *** 11,28 **** if( size) { ! jint num = size/_shmemSize; char* buf = new char[size]; char* q = buf; ! for( jint i = 0; i < num; i++, q += _shmemSize) { _sem2.release(); _sem1.wait(); ! memcpy( q, p, _shmemSize); } ! jint rest = size%_shmemSize; if( rest) { --- 12,29 ---- if( size) { ! jint num = size/shmemSize; char* buf = new char[size]; char* q = buf; ! for( jint i = 0; i < num; i++, q += shmemSize) { _sem2.release(); _sem1.wait(); ! memcpy( q, p, shmemSize); } ! jint rest = size%shmemSize; if( rest) { *************** *** 45,48 **** --- 46,50 ---- void* p = _shmem.getAddress(); + int shmemSize = _shmem.getSize(); jint size = b.getSize(); *************** *** 54,64 **** _sem1.wait(); ! jint num = size/_shmemSize; const char* q = b.getBuffer(); ! for( int i = 0; i < num; i++, q += _shmemSize) { ! memcpy( p, q, _shmemSize); _sem2.release(); --- 56,66 ---- _sem1.wait(); ! jint num = size/shmemSize; const char* q = b.getBuffer(); ! for( int i = 0; i < num; i++, q += shmemSize) { ! memcpy( p, q, shmemSize); _sem2.release(); *************** *** 66,70 **** } ! jint rest = size%_shmemSize; if( rest) { --- 68,72 ---- } ! jint rest = size%shmemSize; if( rest) { Index: communShMem.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun3/communShMem.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** communShMem.h 2001/08/09 23:22:55 1.1 --- communShMem.h 2001/08/12 07:35:31 1.2 *************** *** 2,29 **** #define _COMMUN_SH_MEM_H_ class CommunShMem: public Commun { Semaphore _sem1; Semaphore _sem2; SharedMemory _shmem; - int _shmemSize; - public: - // maximum 3 znaky CommunShMem( const String& shmemId, int size) : _sem1( String( "1") + shmemId + "XXXXXXXXXX"), _sem2( String( "2") + shmemId + "XXXXXXXXXX"), ! _shmem( String( "3") + shmemId + "XXXXXXXXXX"), - _shmemSize( size) - {}; virtual Commun& operator>>( Buffer& b); virtual Commun& operator<<( const Buffer& b); --- 2,62 ---- #define _COMMUN_SH_MEM_H_ + /** Shared memory communication. This class implements shared memory + ** communication and offers the user of this class the standard + ** interface of Commun class. Implementation is system dependent + ** (so it is different on WIN32 and UNIX systems). It should be + ** faster then using sockets. + ** + ** @see CommunSocket, Commun + ** + ** @author Marek Przeczek */ + class CommunShMem: public Commun { + /// read-write semaphore Semaphore _sem1; + /// write-read semaphore Semaphore _sem2; + /// shared memory SharedMemory _shmem; public: + + /** Constructor. Creates shared memory block and + ** needed semaphores for communication. If semaphores + ** or shared memory block already exist, they are used. + ** + ** @param shmemId shared memory identifier (3 characters long only) + ** @param size shared memory size */ CommunShMem( const String& shmemId, int size) : _sem1( String( "1") + shmemId + "XXXXXXXXXX"), _sem2( String( "2") + shmemId + "XXXXXXXXXX"), ! _shmem( String( "3") + shmemId + "XXXXXXXXXX", size) {}; + /** Read data. This operator is used to read data + ** from communication channel (shmem) to buffer. + ** + ** @param b reference to Buffer object + ** + ** @return reference to this Commun object + ** + ** @see operator<<() */ + virtual Commun& operator>>( Buffer& b); + + /** Write data. This operator is used to write data + ** from buffer to communication channel (shmem). + ** + ** @param b reference to Buffer object + ** + ** @return reference to this Commun object + ** + ** @see operator>>() */ virtual Commun& operator<<( const Buffer& b); Index: sharedMemory.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun3/sharedMemory.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** sharedMemory.h 2001/08/09 23:22:55 1.1 --- sharedMemory.h 2001/08/12 07:35:31 1.2 *************** *** 19,22 **** --- 19,25 ---- #endif + /// shared memory size + int _size; + public: *************** *** 29,37 **** ** @param size size of shared memory (in bytes) */ ! SharedMemory( const String& name, int size) { #ifdef WIN32 _shmid = CreateFileMapping( INVALID_HANDLE_VALUE, NULL, ! PAGE_READWRITE | SEC_COMMIT, 0, size, name); _address = MapViewOfFile( _shmid, FILE_MAP_ALL_ACCESS, 0, 0, 0); #else --- 32,40 ---- ** @param size size of shared memory (in bytes) */ ! SharedMemory( const String& name, int size) : _size( size) { #ifdef WIN32 _shmid = CreateFileMapping( INVALID_HANDLE_VALUE, NULL, ! PAGE_READWRITE | SEC_COMMIT, 0, _size, name); _address = MapViewOfFile( _shmid, FILE_MAP_ALL_ACCESS, 0, 0, 0); #else *************** *** 61,64 **** --- 64,73 ---- void* getAddress() { return _address;} + + /** Size of shared memory block. + ** + ** @return size of shared memory block */ + + int getSize() { return _size;} }; |
From: Marek P. <ma...@us...> - 2001-08-12 07:35:35
|
Update of /cvsroot/javaprofiler/library/src/commun In directory usw-pr-cvs1:/tmp/cvs-serv724/src/commun Modified Files: communSocket.cpp communSocket.h iprof.cpp Log Message: changes in library setups; now, library can run in server or client mode (java part not implemented yet) Index: communSocket.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/communSocket.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** communSocket.cpp 2001/08/09 23:22:55 1.4 --- communSocket.cpp 2001/08/12 07:35:31 1.5 *************** *** 1,7 **** #include "../main/includes.h" ! CommunSocket::CommunSocket( int listenMode, const String& hostname, ! unsigned short port) : ! _listenMode( listenMode), _hostname( hostname), _port( port), --- 1,7 ---- #include "../main/includes.h" ! CommunSocket::CommunSocket( int connectMode, const String& hostname, unsigned short port) : ! ! _connectMode( connectMode), _hostname( hostname), _port( port), *************** *** 14,18 **** if( _failed = ((_sock = socket( AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)) return; ! if( _listenMode) { _csock = _sock; --- 14,18 ---- if( _failed = ((_sock = socket( AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)) return; ! if( _connectMode) { // client _csock = _sock; *************** *** 31,35 **** if( _failed = ((_sock = socket( PF_INET, SOCK_STREAM, 0)) < 0)) return; ! if( _listenMode) { _csock = _sock; --- 31,35 ---- if( _failed = ((_sock = socket( PF_INET, SOCK_STREAM, 0)) < 0)) return; ! if( _connectMode) { // client _csock = _sock; *************** *** 52,56 **** #ifdef WIN32 ! if( !_listenMode) { shutdown( _sock, SD_BOTH); --- 52,56 ---- #ifdef WIN32 ! if( !_connectMode) { // server shutdown( _sock, SD_BOTH); *************** *** 64,68 **** #else ! if( !_listenMode) { shutdown( _sock, SHUT_RDWR); --- 64,68 ---- #else ! if( !_connectMode) { // server shutdown( _sock, SHUT_RDWR); *************** *** 81,89 **** int csize = sizeof( cin); ! if( !_listenMode) { ! if( _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) == INVALID_SOCKET)) return 0; } ! else { cin.sin_family = AF_INET; --- 81,89 ---- int csize = sizeof( cin); ! if( !_connectMode) { // server ! _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) == INVALID_SOCKET); } ! else { // client cin.sin_family = AF_INET; *************** *** 95,99 **** cin.sin_addr.s_addr = (unsigned)atol( h->h_addr_list[0]); ! if( _failed = (connect( _csock, (sockaddr*)&cin, csize) == SOCKET_ERROR)) return 0; } #else --- 95,99 ---- cin.sin_addr.s_addr = (unsigned)atol( h->h_addr_list[0]); ! _failed = (connect( _csock, (sockaddr*)&cin, csize) == SOCKET_ERROR); } #else *************** *** 101,109 **** socklen_t csize = sizeof( cin); ! if( !_listenMode) { ! if( _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) < 0)) return 0; } ! else { cin.sin_family = AF_INET; --- 101,109 ---- socklen_t csize = sizeof( cin); ! if( !_connectMode) { // server ! _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) < 0); } ! else { // client cin.sin_family = AF_INET; *************** *** 115,123 **** cin.sin_addr.s_addr = (unsigned)atol( h->h_addr_list[0]); ! if( _failed = (connect( _csock, (sockaddr*)&cin, csize) < 0)) return 0; } #endif ! return 1; } --- 115,123 ---- cin.sin_addr.s_addr = (unsigned)atol( h->h_addr_list[0]); ! _failed = (connect( _csock, (sockaddr*)&cin, csize) < 0); } #endif ! return !_failed; } Index: communSocket.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/communSocket.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** communSocket.h 2001/08/09 23:22:55 1.4 --- communSocket.h 2001/08/12 07:35:31 1.5 *************** *** 4,12 **** /** Socket communication. This class implements TCP/IP socket ** communication and offers the user of this class the standard ! ** interface of Commun class. Implementation is system dependend ** (so it is different on WIN32 and UNIX systems). This class ! ** stands a server out. ** ! ** @see Commun ** ** @author Marek Przeczek */ --- 4,12 ---- /** Socket communication. This class implements TCP/IP socket ** communication and offers the user of this class the standard ! ** interface of Commun class. Implementation is system dependent ** (so it is different on WIN32 and UNIX systems). This class ! ** stands a server or client out. ** ! ** @see CommunShMem, Commun ** ** @author Marek Przeczek */ *************** *** 28,51 **** #endif ! /// hostname (if listenMode is on) String _hostname; - /// port number unsigned short _port; ! /// listening connector mode (1 = on, 0 = off) ! int _listenMode; public: ! /** Constructor. It initializes server ! ** on given port. ** ! ** @param listenMode listening connector mode ! ** @param hostname hostname (if listenMode is on) ** @param port port number */ ! CommunSocket( int listenMode, const String& hostname, ! unsigned short port); /** Destructor. It stops communication and --- 28,58 ---- #endif ! /** Hostname. It is used only when connectMode is set ! ** to 'client' (1); it contains target host's name. */ ! String _hostname; + + /** Port number. When connectMode is set to 'server' (0), + ** it contains port number, where server listens for new + ** connections; when connectMode is set to 'client' (1), + ** it contains target host's port number. */ unsigned short _port; ! /// connect mode (0 = server, 1 = client) ! int _connectMode; public: ! /** Constructor. It initializes server for listening ! ** on given port (if connectMode is set to 'server'). ! ** If connectMode is set to 'client', this class connects ! ** to the target specified by hostname and port arguments. ** ! ** @param connectMode mode (0 = as server, 1 = as client) ! ** @param hostname target host (if connectMode is set to 'client') ** @param port port number */ ! CommunSocket( int connectMode, const String& hostname, unsigned short port); /** Destructor. It stops communication and Index: iprof.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/iprof.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** iprof.cpp 2001/08/09 23:22:55 1.4 --- iprof.cpp 2001/08/12 07:35:31 1.5 *************** *** 22,31 **** if( setup.com.communType == COMMUN_SOCKET) ! ! _commun = new CommunSocket( setup.com.listenMode, setup.com.hostname, setup.com.port); ! else _commun = new CommunShMem( setup.com.shmemStr, setup.com.shmemSize); } --- 22,31 ---- if( setup.com.communType == COMMUN_SOCKET) ! ! _commun = new CommunSocket( setup.com.connectMode, setup.com.hostname, setup.com.port); ! else _commun = new CommunShMem( setup.com.shmemId, setup.com.shmemSize); } |
From: Marek P. <ma...@us...> - 2001-08-09 23:22:59
|
Update of /cvsroot/javaprofiler/library/src2 In directory usw-pr-cvs1:/tmp/cvs-serv7456/src2 Modified Files: CommunSocket.java IProf.java Makefile.rules dir.info Added Files: CommunShMem.java Log Message: no message --- NEW FILE: CommunShMem.java --- public class CommunShMem implements Commun { public native boolean initialize(); public native Commun read( Buffer b); public native Commun write( Buffer b); public native boolean hasFailed(); public native void stopCommun(); static { System.loadLibrary( "CommunShMem"); } }; Index: CommunSocket.java =================================================================== RCS file: /cvsroot/javaprofiler/library/src2/CommunSocket.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** CommunSocket.java 2001/07/28 04:12:18 1.1 --- CommunSocket.java 2001/08/09 23:22:55 1.2 *************** *** 19,22 **** --- 19,23 ---- private Buffer _buf = new Buffer( new byte[4], 4); + public CommunSocket( String host, int port) { *************** *** 36,40 **** catch( Exception e) { ! return _failed = false; } --- 37,41 ---- catch( Exception e) { ! return _failed = true; } Index: IProf.java =================================================================== RCS file: /cvsroot/javaprofiler/library/src2/IProf.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** IProf.java 2001/07/28 04:12:18 1.1 --- IProf.java 2001/08/09 23:22:55 1.2 *************** *** 31,35 **** public boolean runClient() { ! if( !_commun.initialize()) return false; _timer = new Timer(); --- 31,35 ---- public boolean runClient() { ! if( _commun.hasFailed() || !_commun.initialize()) return false; _timer = new Timer(); Index: Makefile.rules =================================================================== RCS file: /cvsroot/javaprofiler/library/src2/Makefile.rules,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Makefile.rules 2001/07/28 04:12:18 1.1 --- Makefile.rules 2001/08/09 23:22:55 1.2 *************** *** 1,4 **** ! java_interface.o \ ! java_interface.obj: *.java $(JAVAC) *.java $(JAR) cf $(PROF_JAVA_INTERF_PACKAGE) *.class --- 1,11 ---- ! java.o \ ! java.obj: *.java $(JAVAC) *.java + + native.o \ + native.obj: + $(JAVAH) CommunShMem + + do_link.o \ + do_link.obj: $(JAR) cf $(PROF_JAVA_INTERF_PACKAGE) *.class Index: dir.info =================================================================== RCS file: /cvsroot/javaprofiler/library/src2/dir.info,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** dir.info 2001/07/28 04:12:18 1.1 --- dir.info 2001/08/09 23:22:55 1.2 *************** *** 1,3 **** ! FILES = java_interface ! CLEAN_FILES = *.class *.jar --- 1,3 ---- ! FILES = java native do_link ! CLEAN_FILES = *.class *.jar *.h *.dll *.so |
From: Marek P. <ma...@us...> - 2001-08-09 23:22:59
|
Update of /cvsroot/javaprofiler/library/src/setup In directory usw-pr-cvs1:/tmp/cvs-serv7456/src/setup Modified Files: setup.cpp setup.h Log Message: no message Index: setup.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/setup/setup.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** setup.cpp 2001/07/30 15:41:26 1.2 --- setup.cpp 2001/08/09 23:22:55 1.3 *************** *** 1,5 **** #include "../main/includes.h" ! Setup::Setup() { alloc.turnedOn = 1; --- 1,5 ---- #include "../main/includes.h" ! Setup::Setup( char* options) { alloc.turnedOn = 1; *************** *** 13,16 **** --- 13,18 ---- cpu.traceDepth = 2; cpu.threadsEnabled = 1; + + if( options) processOptions( options); } *************** *** 145,149 **** return; } - } --- 147,189 ---- return; } + if( !strcmp( name, "commun_type")) { + + if( !strcmp( value, "socket")) com.communType = IProf::COMMUN_SOCKET; + else if( !strcmp( value, "shmem")) com.communType = IProf::COMMUN_SHMEM; + + return; + } + + if( !strcmp( name, "commun_host")) { + + com.hostname = value; + return; + } + + if( !strcmp( name, "commun_port")) { + + com.port = (unsigned short)atoi( value); + return; + } + if( !strcmp( name, "commun_shmem_size")) { + + com.shmemSize = atoi( value); + return; + } + + if( !strcmp( name, "commun_shmem_str")) { + + com.shmemStr = value; + return; + } + + if( !strcmp( name, "connect_mode")) { + + if( !strcmp( value, "normal")) com.listenMode = 0; + else if( !strcmp( value, "listen")) com.listenMode = 1; + + return; + } + } Index: setup.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/setup/setup.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** setup.h 2001/07/30 15:41:26 1.3 --- setup.h 2001/08/09 23:22:55 1.4 *************** *** 6,10 **** ** profiler start-up. Default values are used for missing ones. ** ! ** @author Petr Luner */ class Setup { --- 6,10 ---- ** profiler start-up. Default values are used for missing ones. ** ! ** @author Petr Luner, Marek Przeczek */ class Setup { *************** *** 59,62 **** --- 59,98 ---- }; + /// setup for communication + struct Com { + + /// type of communication + IProf::eCommunType communType; + + /// listening connector mode (1 = on, 0 = off) + int listenMode; + + /// hostname (if sockets used and connect_mode set to "listen") + String hostname; + + /// TCP port (if sockets used) + unsigned short port; + + /// shared memory size - in bytes (if shmem used) + int shmemSize; + + /// shared memory name (identifier) - 3 characters + String shmemId; + + /// initialization + Com() : + + communType( IProf::COMMUN_SOCKET), + listenMode( 0), + + hostname( "127.0.0.1"), + port( IProf::COMMUN_PORT), + + shmemSize( IProf::COMMUN_SHMEM_SIZE), + shmemId( "com") + + {}; + }; + /// Memory profiling Alloc alloc; *************** *** 65,74 **** Cpu cpu; public: /** Constructor. ! ** Sets setup parameters to their default values. */ ! Setup(); /** Sets parameters according to command line options. --- 101,117 ---- Cpu cpu; + /// Communication + Com com; + public: /** Constructor. ! ** Sets setup parameters to their default values. ! ** If an argument is not NULL, given options ! ** from command-line are processed. ! ** ! ** @param options command-line options */ ! Setup( char* options = NULL); /** Sets parameters according to command line options. |
From: Marek P. <ma...@us...> - 2001-08-09 23:22:58
|
Update of /cvsroot/javaprofiler/library/src/main In directory usw-pr-cvs1:/tmp/cvs-serv7456/src/main Modified Files: includes.h main.cpp Log Message: no message Index: includes.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/main/includes.h,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** includes.h 2001/08/05 01:37:10 1.19 --- includes.h 2001/08/09 23:22:55 1.20 *************** *** 60,63 **** --- 60,65 ---- class Prof; + class Setup; + #include "../main/main.h" #include "../main/const.h" *************** *** 66,69 **** --- 68,73 ---- #include "../prof/lock.h" #include "../prof/synchronized.h" + #include "../commun3/semaphore.h" + #include "../commun3/sharedMemory.h" #include "../list/refCount.h" *************** *** 76,79 **** --- 80,84 ---- #include "../commun/commun.h" #include "../commun/communSocket.h" + #include "../commun3/communShMem.h" #include "../commun/statDataModification.h" #include "../commun2/objectTable.h" *************** *** 117,121 **** #include "../gc/gc.h" - #include "../setup/setup.h" #include "../commun/iprof.h" #include "../prof/prof.h" --- 122,126 ---- #include "../gc/gc.h" #include "../commun/iprof.h" + #include "../setup/setup.h" #include "../prof/prof.h" Index: main.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/main/main.cpp,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** main.cpp 2001/08/01 22:53:26 1.19 --- main.cpp 2001/08/09 23:22:55 1.20 *************** *** 57,69 **** JNIEXPORT jint JNICALL JVM_OnLoad( JavaVM* jvm, char* options, void* reserved) { - _prof = new Prof; - JVMPI_Interface* jvmpi_interface; if( jvm->GetEnv( (void**)&jvmpi_interface, JVMPI_VERSION_1) < 0) return JNI_ERR; jvmpi_interface->NotifyEvent = profNotifyEvent; _prof->jvmpiInterface = jvmpi_interface; - - _prof->setup.processOptions(options); jvmpi_interface->EnableEvent( JVMPI_EVENT_THREAD_END, NULL); --- 57,67 ---- JNIEXPORT jint JNICALL JVM_OnLoad( JavaVM* jvm, char* options, void* reserved) { JVMPI_Interface* jvmpi_interface; if( jvm->GetEnv( (void**)&jvmpi_interface, JVMPI_VERSION_1) < 0) return JNI_ERR; + _prof = new Prof( *(new Setup( options))); + jvmpi_interface->NotifyEvent = profNotifyEvent; _prof->jvmpiInterface = jvmpi_interface; jvmpi_interface->EnableEvent( JVMPI_EVENT_THREAD_END, NULL); |
Update of /cvsroot/javaprofiler/library/src/commun3 In directory usw-pr-cvs1:/tmp/cvs-serv7456/src/commun3 Added Files: Makefile Makefile.mak Makefile.rules communShMem.cpp communShMem.h dir.info semaphore.h sharedMemory.h Log Message: no message --- NEW FILE: Makefile --- include ../../config.mk include Makefile.rules --- NEW FILE: Makefile.mak --- !include ../../config.mk !include Makefile.rules --- NEW FILE: Makefile.rules --- communShMem.o \ communShMem.obj: communShMem.cpp ../main/includes.h $(CCC) $(CPPFLAGS) communShMem.cpp --- NEW FILE: communShMem.cpp --- #include "../main/includes.h" Commun& CommunShMem::operator>>( Buffer& b) { _sem1.wait(); void* p = _shmem.getAddress(); jint size = ntohl( *(jint*)p); if( size) { jint num = size/_shmemSize; char* buf = new char[size]; char* q = buf; for( jint i = 0; i < num; i++, q += _shmemSize) { _sem2.release(); _sem1.wait(); memcpy( q, p, _shmemSize); } jint rest = size%_shmemSize; if( rest) { _sem2.release(); _sem1.wait(); memcpy( q, p, rest); } b = Buffer( buf, size); delete[] buf; } else b.clear(); return *this; } Commun& CommunShMem::operator<<( const Buffer& b) { void* p = _shmem.getAddress(); jint size = b.getSize(); *(jint*)p = htonl( size); if( size) { _sem2.release(); _sem1.wait(); jint num = size/_shmemSize; const char* q = b.getBuffer(); for( int i = 0; i < num; i++, q += _shmemSize) { memcpy( p, q, _shmemSize); _sem2.release(); _sem1.wait(); } jint rest = size%_shmemSize; if( rest) { memcpy( p, q, rest); _sem2.release(); _sem1.wait(); } } else _sem2.release(); return *this; } --- NEW FILE: communShMem.h --- #ifndef _COMMUN_SH_MEM_H_ #define _COMMUN_SH_MEM_H_ class CommunShMem: public Commun { Semaphore _sem1; Semaphore _sem2; SharedMemory _shmem; int _shmemSize; public: // maximum 3 znaky CommunShMem( const String& shmemId, int size) : _sem1( String( "1") + shmemId + "XXXXXXXXXX"), _sem2( String( "2") + shmemId + "XXXXXXXXXX"), _shmem( String( "3") + shmemId + "XXXXXXXXXX"), _shmemSize( size) {}; virtual Commun& operator>>( Buffer& b); virtual Commun& operator<<( const Buffer& b); }; #endif // _COMMUN_SH_MEM_H_ --- NEW FILE: dir.info --- FILES = communShMem CLEAN_FILES = *.pdb *.obj *.o --- NEW FILE: semaphore.h --- #ifndef _SEMAPHORE_H_ #define _SEMAPHORE_H_ /** Binary semaphore. This class implements IPC semaphore. ** Implementation of this class is platform/system dependent. ** ** @author Marek Przeczek */ class Semaphore { #ifdef WIN32 /// win32 semaphore identifier HANDLE _semid; #else #error FIXME - not implemented yet !!! #endif /// is semaphore locked or not ? int _locked; public: /** Constructor. Opens a semaphore with given name. ** If semaphore doesn't exist, new one is created. ** ** @param name unique name (at least 8 bytes) */ Semaphore( const String& name) : _locked( 0) { #ifdef WIN32 _semid = CreateSemaphore( NULL, 0, 1, name); #else #error FIXME - not implemented yet !!! #endif } /// Destructor. ~Semaphore() { if( _locked) release(); #ifdef WIN32 CloseHandle( _semid); #else #error FIXME - not implemented yet !!! #endif } /** Lock semaphore. If the semaphore is already locked, ** calling thread waits on semaphore until another process ** (or thread) will release it. ** ** @see release() */ void wait() { #ifdef WIN32 WaitForSingleObject( _semid, INFINITE); #else #error FIXME - not implemented yet !!! #endif _locked = 1; } /** Unlock semaphore. This method releases semaphore ** locked by previous call to wait() method. ** ** @see wait() */ void release() { _locked = 0; #ifdef WIN32 ReleaseSemaphore( _semid, 1, NULL); #else #error FIXME - not implemented yet !!! #endif } }; #endif // _SEMAPHORE_H_ --- NEW FILE: sharedMemory.h --- #ifndef _SHARED_MEMORY_H_ #define _SHARED_MEMORY_H_ /** Shared memory. This class manages IPC shared memory. ** Implementation of this class is platform/system dependent. ** ** @author Marek Przeczek */ class SharedMemory { #ifdef WIN32 /// win32 shared memory identifier HANDLE _shmid; /// win32 shared memory address LPVOID _address; #else #error FIXME - not implemented yet !!! #endif public: /** Constructor. It attaches shared memory associated ** with given name. If shared memory doesn't exist yet, ** new shared block of memory is created and associated ** with given name. ** ** @param name name of shared block of memory ** @param size size of shared memory (in bytes) */ SharedMemory( const String& name, int size) { #ifdef WIN32 _shmid = CreateFileMapping( INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE | SEC_COMMIT, 0, size, name); _address = MapViewOfFile( _shmid, FILE_MAP_ALL_ACCESS, 0, 0, 0); #else #error FIXME - not implemented yet !!! #endif } /** Destructor. It deattaches attached shared memory ** from the address space of the process. If possible, ** block of shared memory is destroyed. */ ~SharedMemory() { #ifdef WIN32 UnmapViewOfFile( _address); CloseHandle( _shmid); #else #error FIXME - not implemented yet !!! #endif } /** Address of shared memory block. This method returns ** a pointer where shared memory begins - is mapped ** to process' address space. ** ** @return pointer to shared memory block */ void* getAddress() { return _address;} }; #endif // _SHARED_MEMORY_H_ |
From: Marek P. <ma...@us...> - 2001-08-09 23:22:58
|
Update of /cvsroot/javaprofiler/library/src/prof In directory usw-pr-cvs1:/tmp/cvs-serv7456/src/prof Modified Files: lock.h prof.cpp prof.h Log Message: no message Index: lock.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/prof/lock.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** lock.h 2001/07/30 23:18:01 1.10 --- lock.h 2001/08/09 23:22:55 1.11 *************** *** 47,50 **** --- 47,51 ---- /// Destructor. It destroys the mutex. ~Lock() { + #ifdef WIN32 DeleteCriticalSection( &cs); Index: prof.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/prof/prof.cpp,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** prof.cpp 2001/08/05 01:37:10 1.19 --- prof.cpp 2001/08/09 23:22:55 1.20 *************** *** 3,9 **** #define tF( i, a, b) tabFunc[i].event = a; tabFunc[i].func = b ! Prof::Prof() : ! IProf( IProf::COMMUN_SOCKET), dataLock( "_data_lock"), --- 3,10 ---- #define tF( i, a, b) tabFunc[i].event = a; tabFunc[i].func = b ! Prof::Prof( Setup& msetup) : ! setup( msetup), ! IProf( msetup), dataLock( "_data_lock"), Index: prof.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/prof/prof.h,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** prof.h 2001/08/05 01:37:10 1.29 --- prof.h 2001/08/09 23:22:55 1.30 *************** *** 42,46 **** /// profiler setup parameters ! Setup setup; /** Lock for enabling / disabling GC. --- 42,46 ---- /// profiler setup parameters ! Setup& setup; /** Lock for enabling / disabling GC. *************** *** 49,52 **** --- 49,53 ---- ** ** @see dataLock */ + Lock gcLock; *************** *** 140,149 **** /** Default constructor. The constructor initializes event handlers table ! ** with appropriate values ( {event_type, relative_method_pointer} pairs). */ ! Prof(); ! /// Destructor. It does nothing. ! virtual ~Prof() {}; /** Main fork for all received JVMPI events. For each event received by profiler --- 141,152 ---- /** Default constructor. The constructor initializes event handlers table ! ** with appropriate values ( {event_type, relative_method_pointer} pairs). ! ** ! ** @param msetup reference to profiler setup */ ! Prof( Setup& msetup); ! /// Destructor. ! virtual ~Prof() { delete &setup;} /** Main fork for all received JVMPI events. For each event received by profiler |
From: Marek P. <ma...@us...> - 2001-08-09 23:22:58
|
Update of /cvsroot/javaprofiler/library/src In directory usw-pr-cvs1:/tmp/cvs-serv7456/src Modified Files: Makefile.rules dir.info Log Message: no message Index: Makefile.rules =================================================================== RCS file: /cvsroot/javaprofiler/library/src/Makefile.rules,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** Makefile.rules 2001/07/28 04:11:17 1.5 --- Makefile.rules 2001/08/09 23:22:55 1.6 *************** *** 63,66 **** --- 63,82 ---- $(MAKE) $(MFLAGS) commun2 clean + commun3.dir: + cd commun3 + $(MAKE) $(MFLAGS) + cd .. + + commun3.dir.2: + $(MAKE) $(MFLAGS) commun3 + + commun3.clean: + cd commun3 + $(MAKE) $(MFLAGS) clean + cd .. + + commun3.clean.2: + $(MAKE) $(MFLAGS) commun3 clean + cpu.dir: cd cpu Index: dir.info =================================================================== RCS file: /cvsroot/javaprofiler/library/src/dir.info,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** dir.info 2001/07/28 04:11:17 1.10 --- dir.info 2001/08/09 23:22:55 1.11 *************** *** 1,3 **** ! DIRS = profiler alloc allocator commun commun2 cpu gc main \ prof setup shared string --- 1,3 ---- ! DIRS = profiler alloc allocator commun commun2 commun3 cpu gc main \ prof setup shared string *************** *** 5,7 **** OBJ_FILES = profiler/*.o* alloc/*.o* allocator/*.o* commun/*.o* commun2/*.o* \ ! cpu/*.o* gc/*.o* main/*.o* prof/*.o* setup/*.o* shared/*.o* string/*.o* --- 5,8 ---- OBJ_FILES = profiler/*.o* alloc/*.o* allocator/*.o* commun/*.o* commun2/*.o* \ ! commun3/*.o* cpu/*.o* gc/*.o* main/*.o* prof/*.o* setup/*.o* \ ! shared/*.o* string/*.o* |
From: Marek P. <ma...@us...> - 2001-08-09 23:22:58
|
Update of /cvsroot/javaprofiler/library/src/commun In directory usw-pr-cvs1:/tmp/cvs-serv7456/src/commun Modified Files: communSocket.cpp communSocket.h iprof.cpp iprof.h Log Message: no message Index: communSocket.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/communSocket.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** communSocket.cpp 2001/07/28 23:25:47 1.3 --- communSocket.cpp 2001/08/09 23:22:55 1.4 *************** *** 1,5 **** #include "../main/includes.h" ! CommunSocket::CommunSocket( unsigned short port) { #ifdef WIN32 --- 1,10 ---- #include "../main/includes.h" ! CommunSocket::CommunSocket( int listenMode, const String& hostname, ! unsigned short port) : ! _listenMode( listenMode), ! _hostname( hostname), ! _port( port), ! _csock( -1) { #ifdef WIN32 *************** *** 9,12 **** --- 14,23 ---- if( _failed = ((_sock = socket( AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)) return; + if( _listenMode) { + + _csock = _sock; + return; + } + SOCKADDR_IN sin; sin.sin_family = AF_INET; *************** *** 20,23 **** --- 31,40 ---- if( _failed = ((_sock = socket( PF_INET, SOCK_STREAM, 0)) < 0)) return; + if( _listenMode) { + + _csock = _sock; + return; + } + sockaddr_in sin; sin.sin_family = AF_INET; *************** *** 29,34 **** if( _failed = (listen( _sock, 1) < 0)) return; #endif - - _csock = -1; } --- 46,49 ---- *************** *** 36,42 **** #ifdef WIN32 - shutdown( _sock, SD_BOTH); - closesocket( _sock); shutdown( _csock, SD_BOTH); closesocket( _csock); --- 51,61 ---- #ifdef WIN32 + if( !_listenMode) { + + shutdown( _sock, SD_BOTH); + closesocket( _sock); + } + shutdown( _csock, SD_BOTH); closesocket( _csock); *************** *** 44,49 **** WSACleanup(); #else ! shutdown( _sock, SHUT_RDWR); ! close( _sock); shutdown( _csock, SHUT_RDWR); --- 63,72 ---- WSACleanup(); #else ! ! if( !_listenMode) { ! ! shutdown( _sock, SHUT_RDWR); ! close( _sock); ! } shutdown( _csock, SHUT_RDWR); *************** *** 57,67 **** SOCKADDR_IN cin; int csize = sizeof( cin); ! if( _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) == INVALID_SOCKET)) return 0; #else sockaddr_in cin; socklen_t csize = sizeof( cin); ! if( _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) < 0)) return 0; #endif --- 80,120 ---- SOCKADDR_IN cin; int csize = sizeof( cin); + + if( !_listenMode) { + + if( _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) == INVALID_SOCKET)) return 0; + } + else { + + cin.sin_family = AF_INET; + cin.sin_port = htons( _port); + + hostent* h = gethostbyname( _hostname); + if( _failed = (h == NULL)) return 0; ! cin.sin_addr.s_addr = (unsigned)atol( h->h_addr_list[0]); ! ! if( _failed = (connect( _csock, (sockaddr*)&cin, csize) == SOCKET_ERROR)) return 0; ! } #else sockaddr_in cin; socklen_t csize = sizeof( cin); + + if( !_listenMode) { + + if( _failed = ((_csock = accept( _sock, (sockaddr*)&cin, &csize)) < 0)) return 0; + } + else { + + cin.sin_family = AF_INET; + cin.sin_port = htons( _port); + + hostent* h = gethostbyname( _hostname); + if( _failed = (h == NULL)) return 0; + + cin.sin_addr.s_addr = (unsigned)atol( h->h_addr_list[0]); ! if( _failed = (connect( _csock, (sockaddr*)&cin, csize) < 0)) return 0; ! } #endif Index: communSocket.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/communSocket.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** communSocket.h 2001/07/28 23:25:47 1.3 --- communSocket.h 2001/08/09 23:22:55 1.4 *************** *** 28,31 **** --- 28,40 ---- #endif + /// hostname (if listenMode is on) + String _hostname; + + /// port number + unsigned short _port; + + /// listening connector mode (1 = on, 0 = off) + int _listenMode; + public: *************** *** 33,39 **** ** on given port. ** ! ** @param port port number */ ! CommunSocket( unsigned short port); /** Destructor. It stops communication and --- 42,51 ---- ** on given port. ** ! ** @param listenMode listening connector mode ! ** @param hostname hostname (if listenMode is on) ! ** @param port port number */ ! CommunSocket( int listenMode, const String& hostname, ! unsigned short port); /** Destructor. It stops communication and Index: iprof.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/iprof.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** iprof.cpp 2001/08/05 01:37:10 1.3 --- iprof.cpp 2001/08/09 23:22:55 1.4 *************** *** 3,7 **** Allocator IProf::sID::_allocator( sizeof( IProf::sID)); ! IProf::IProf( IProf::eCommunType ctype) : communLock( "_commun_lock"), --- 3,7 ---- Allocator IProf::sID::_allocator( sizeof( IProf::sID)); ! IProf::IProf( const Setup& setup) : communLock( "_commun_lock"), *************** *** 21,26 **** _func[F_IDLE] = &IProf::_idle; ! if( ctype == COMMUN_SOCKET) _commun = new CommunSocket( COMMUN_PORT); ! else _commun = new CommunSocket( COMMUN_PORT); // will be replaced by CommunShMem } --- 21,31 ---- _func[F_IDLE] = &IProf::_idle; ! if( setup.com.communType == COMMUN_SOCKET) ! ! _commun = new CommunSocket( setup.com.listenMode, ! setup.com.hostname, ! setup.com.port); ! ! else _commun = new CommunShMem( setup.com.shmemStr, setup.com.shmemSize); } *************** *** 33,37 **** conEstabl = 0; ! if( !_commun->initialize()) return 0; conEstabl = 1; --- 38,42 ---- conEstabl = 0; ! if( _commun->hasFailed() || !_commun->initialize()) return 0; conEstabl = 1; Index: iprof.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/iprof.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** iprof.h 2001/08/05 01:37:10 1.7 --- iprof.h 2001/08/09 23:22:55 1.8 *************** *** 18,21 **** --- 18,23 ---- typedef void (IProf::*Func)( Buffer&); + public: + /// constants enum e { *************** *** 24,31 **** --- 26,38 ---- COMMUN_PORT = 25595, + /// default shared memory size (in bytes) + COMMUN_SHMEM_SIZE = 256*1024, + /// number of methods of the interface FUNC_COUNT = 10 }; + private: + /// an array of relative pointers to methods Func _func[FUNC_COUNT]; *************** *** 44,48 **** typedef jint objectID; ! protected: /// type of communication --- 51,55 ---- typedef jint objectID; ! public: /// type of communication *************** *** 56,59 **** --- 63,68 ---- }; + protected: + /// error codes enum eErrorCode { *************** *** 333,342 **** /** Constructor. It initializes communication. In this moment, ! ** only socket (TCP) communication is supported and will be used ! ** in all cases. ** ! ** @param ctype type of communication */ ! IProf( eCommunType ctype); /** Destructor. It stops communication and closes --- 342,351 ---- /** Constructor. It initializes communication. In this moment, ! ** socket (TCP) communication and shared memory communication are ! ** supported. ** ! ** @param setup commun setup */ ! IProf( const Setup& setup); /** Destructor. It stops communication and closes |
Update of /cvsroot/javaprofiler/library/config In directory usw-pr-cvs1:/tmp/cvs-serv7456/config Modified Files: config_sparc_sunos58_gcc30.mk config_x86_nt40_bcc551.mk config_x86_nt40_vc98.mk config_x86_win9x_bcc551.mk config_x86_win9x_vc98.mk Log Message: no message Index: config_sparc_sunos58_gcc30.mk =================================================================== RCS file: /cvsroot/javaprofiler/library/config/config_sparc_sunos58_gcc30.mk,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** config_sparc_sunos58_gcc30.mk 2001/08/01 22:53:26 1.2 --- config_sparc_sunos58_gcc30.mk 2001/08/09 23:22:55 1.3 *************** *** 20,23 **** --- 20,24 ---- LD = "$(COMPILER_PATH)/bin/g++" JAVAC = "$(JAVA_PATH)/bin/javac" + JAVAH = "$(JAVA_PATH)/bin/javah" JAR = "$(JAVA_PATH)/bin/jar" JDOC = "$(JAVA_PATH)/bin/javadoc" Index: config_x86_nt40_bcc551.mk =================================================================== RCS file: /cvsroot/javaprofiler/library/config/config_x86_nt40_bcc551.mk,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** config_x86_nt40_bcc551.mk 2001/07/30 15:42:05 1.5 --- config_x86_nt40_bcc551.mk 2001/08/09 23:22:55 1.6 *************** *** 20,23 **** --- 20,24 ---- LD = "$(COMPILER_PATH)\Bin\bcc32" JAVAC = "$(JAVA_PATH)\bin\javac" + JAVAH = "$(JAVA_PATH)\bin\javah" JAR = "$(JAVA_PATH)\bin\jar" JDOC = "$(JAVA_PATH)\bin\javadoc" Index: config_x86_nt40_vc98.mk =================================================================== RCS file: /cvsroot/javaprofiler/library/config/config_x86_nt40_vc98.mk,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** config_x86_nt40_vc98.mk 2001/07/30 15:42:05 1.11 --- config_x86_nt40_vc98.mk 2001/08/09 23:22:55 1.12 *************** *** 20,23 **** --- 20,24 ---- LD = "$(COMPILER_PATH)\Bin\link" JAVAC = "$(JAVA_PATH)\bin\javac" + JAVAH = "$(JAVA_PATH)\bin\javah" JAR = "$(JAVA_PATH)\bin\jar" JDOC = "$(JAVA_PATH)\bin\javadoc" Index: config_x86_win9x_bcc551.mk =================================================================== RCS file: /cvsroot/javaprofiler/library/config/config_x86_win9x_bcc551.mk,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** config_x86_win9x_bcc551.mk 2001/07/30 15:42:05 1.5 --- config_x86_win9x_bcc551.mk 2001/08/09 23:22:55 1.6 *************** *** 20,23 **** --- 20,24 ---- LD = "$(COMPILER_PATH)\Bin\bcc32" JAVAC = "$(JAVA_PATH)\bin\javac" + JAVAH = "$(JAVA_PATH)\bin\javah" JAR = "$(JAVA_PATH)\bin\jar" JDOC = "$(JAVA_PATH)\bin\javadoc" Index: config_x86_win9x_vc98.mk =================================================================== RCS file: /cvsroot/javaprofiler/library/config/config_x86_win9x_vc98.mk,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** config_x86_win9x_vc98.mk 2001/07/30 15:42:05 1.10 --- config_x86_win9x_vc98.mk 2001/08/09 23:22:55 1.11 *************** *** 20,23 **** --- 20,24 ---- LD = "$(COMPILER_PATH)\Bin\link" JAVAC = "$(JAVA_PATH)\bin\javac" + JAVAH = "$(JAVA_PATH)\bin\javah" JAR = "$(JAVA_PATH)\bin\jar" JDOC = "$(JAVA_PATH)\bin\javadoc" |
From: Marek P. <ma...@us...> - 2001-08-09 23:22:58
|
Update of /cvsroot/javaprofiler/library In directory usw-pr-cvs1:/tmp/cvs-serv7456 Modified Files: config.mk Log Message: no message Index: config.mk =================================================================== RCS file: /cvsroot/javaprofiler/library/config.mk,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** config.mk 2001/08/01 22:53:25 1.15 --- config.mk 2001/08/09 23:22:55 1.16 *************** *** 20,23 **** --- 20,24 ---- LD = "$(COMPILER_PATH)\Bin\bcc32" JAVAC = "$(JAVA_PATH)\bin\javac" + JAVAH = "$(JAVA_PATH)\bin\javah" JAR = "$(JAVA_PATH)\bin\jar" JDOC = "$(JAVA_PATH)\bin\javadoc" |
From: Marek P. <ma...@us...> - 2001-08-09 23:21:31
|
Update of /cvsroot/javaprofiler/library/src/commun3 In directory usw-pr-cvs1:/tmp/cvs-serv7248/commun3 Log Message: Directory /cvsroot/javaprofiler/library/src/commun3 added to the repository |
From: Marek P. <ma...@us...> - 2001-08-08 22:22:17
|
Update of /cvsroot/javaprofiler/test In directory usw-pr-cvs1:/tmp/cvs-serv13305 Modified Files: logovani.txt Log Message: Index: logovani.txt =================================================================== RCS file: /cvsroot/javaprofiler/test/logovani.txt,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** logovani.txt 2001/08/05 12:50:15 1.10 --- logovani.txt 2001/08/08 22:22:14 1.11 *************** *** 1,2 **** --- 1,4 ---- + + uoerouroeor epruoruourouoyuroueroureoiroeoruoiuorei *************** *** 8,11 **** --- 10,16 ---- /* * $Log$ + * Revision 1.11 2001/08/08 22:22:14 marek + * *** empty log message *** + * * Revision 1.10 2001/08/05 12:50:15 marek * *** empty log message *** |
From: Marek P. <ma...@us...> - 2001-08-05 12:50:17
|
Update of /cvsroot/javaprofiler/test In directory usw-pr-cvs1:/tmp/cvs-serv29991 Modified Files: logovani.txt Log Message: Index: logovani.txt =================================================================== RCS file: /cvsroot/javaprofiler/test/logovani.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** logovani.txt 2001/08/05 12:14:39 1.9 --- logovani.txt 2001/08/05 12:50:15 1.10 *************** *** 1,2 **** --- 1,3 ---- + uoerouroeor epruoruourouoyuroueroureoiroeoruoiuorei Pokus s logovanim do komentaru. *************** *** 7,10 **** --- 8,14 ---- /* * $Log$ + * Revision 1.10 2001/08/05 12:50:15 marek + * *** empty log message *** + * * Revision 1.9 2001/08/05 12:14:39 marek * *** empty log message *** |
From: Marek P. <ma...@us...> - 2001-08-05 12:34:41
|
Update of /cvsroot/javaprofiler/library/src/hash In directory usw-pr-cvs1:/tmp/cvs-serv27134/src/hash Modified Files: hash.h Log Message: no message Index: hash.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/hash/hash.h,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** hash.h 2001/08/05 10:52:20 1.18 --- hash.h 2001/08/05 12:34:38 1.19 *************** *** 131,134 **** --- 131,135 ---- _table = new List<T,L>[_size]; + _mask = _size-1; } |
From: Marek P. <mpr...@ss...> - 2001-08-05 12:23:52
|
zkouska |
From: Marek P. <ma...@us...> - 2001-08-05 12:14:42
|
Update of /cvsroot/javaprofiler/test In directory usw-pr-cvs1:/tmp/cvs-serv21116 Modified Files: logovani.txt Log Message: Index: logovani.txt =================================================================== RCS file: /cvsroot/javaprofiler/test/logovani.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** logovani.txt 2001/08/05 12:13:34 1.8 --- logovani.txt 2001/08/05 12:14:39 1.9 *************** *** 1,3 **** ! oueroureoiroeoruoiuorei Pokus s logovanim do komentaru. --- 1,3 ---- ! epruoruourouoyuroueroureoiroeoruoiuorei Pokus s logovanim do komentaru. *************** *** 7,10 **** --- 7,13 ---- /* * $Log$ + * Revision 1.9 2001/08/05 12:14:39 marek + * *** empty log message *** + * * Revision 1.8 2001/08/05 12:13:34 marek * *** empty log message *** |
From: Marek P. <ma...@us...> - 2001-08-05 12:13:14
|
Update of /cvsroot/javaprofiler/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv20551 Modified Files: syncmail.new Log Message: Index: syncmail.new =================================================================== RCS file: /cvsroot/javaprofiler/CVSROOT/syncmail.new,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** syncmail.new 2001/08/05 12:11:32 1.2 --- syncmail.new 2001/08/05 12:13:12 1.3 *************** *** 1,3 **** ! #!/usr/bin/python # -*- Python -*- --- 1,3 ---- ! # !/usr/bin/python # -*- Python -*- |
From: Marek P. <ma...@us...> - 2001-08-05 12:12:24
|
Update of /cvsroot/javaprofiler/test In directory usw-pr-cvs1:/tmp/cvs-serv20395 Modified Files: logovani.txt Log Message: Index: logovani.txt =================================================================== RCS file: /cvsroot/javaprofiler/test/logovani.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** logovani.txt 2001/08/05 12:07:21 1.6 --- logovani.txt 2001/08/05 12:12:21 1.7 *************** *** 1,2 **** --- 1,3 ---- + oeoruoiuorei Pokus s logovanim do komentaru. *************** *** 6,9 **** --- 7,13 ---- /* * $Log$ + * Revision 1.7 2001/08/05 12:12:21 marek + * *** empty log message *** + * * Revision 1.6 2001/08/05 12:07:21 marek * *** empty log message *** |