From: Marek P. <ma...@us...> - 2002-03-07 00:27:24
|
Update of /cvsroot/javaprofiler/library/src/commun In directory usw-pr-cvs1:/tmp/cvs-serv14504/src/commun Modified Files: iprof.cpp iprof.h Log Message: 'clearFlag' parameter implementation Index: iprof.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/iprof.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** iprof.cpp 31 Jan 2002 12:30:59 -0000 1.13 --- iprof.cpp 7 Mar 2002 00:27:21 -0000 1.14 *************** *** 242,251 **** jint optionalArg = ntohl( *(const jint*)buf); seqID seq; jint rc; ! if( all) rc = getAll( objId, (eSeqType)what, includeInfo, optionalArg, seq); ! else rc = getChanged( objId, (eSeqType)what, includeInfo, optionalArg, seq); b.clear( seq.length()*sizeof( sID)); --- 242,254 ---- jint optionalArg = ntohl( *(const jint*)buf); + buf += sizeof( optionalArg); + + jint clearFlag = ntohl( *(const jint*)buf); seqID seq; jint rc; ! if( all) rc = getAll( objId, (eSeqType)what, includeInfo, optionalArg, clearFlag, seq); ! else rc = getChanged( objId, (eSeqType)what, includeInfo, optionalArg, clearFlag, seq); b.clear( seq.length()*sizeof( sID)); Index: iprof.h =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/iprof.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** iprof.h 31 Jan 2002 12:30:59 -0000 1.15 --- iprof.h 7 Mar 2002 00:27:21 -0000 1.16 *************** *** 676,679 **** --- 676,680 ---- jint includeInfo, // in (jint) jint optionalArg, // in (jint) + jint clearFlag, // in (jint) seqID& seq) = 0; // out *************** *** 687,690 **** --- 688,692 ---- jint includeInfo, // in (jint) jint optionalArg, // in (jint) + jint clearFlag, // in (jint) seqID& seq) = 0; // out |