From: Pavel V. <va...@us...> - 2002-05-08 08:09:01
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data In directory usw-pr-cvs1:/tmp/cvs-serv21569 Modified Files: AllocThreadMethodData.java AllocThreadTraceData.java CPUThreadMethodData.java CPUThreadTraceData.java MonThreadMethodData.java MonThreadTraceData.java Log Message: siblings Index: AllocThreadMethodData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadMethodData.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** AllocThreadMethodData.java 6 May 2002 17:32:13 -0000 1.14 --- AllocThreadMethodData.java 8 May 2002 08:08:57 -0000 1.15 *************** *** 172,177 **** */ public CPUThreadMethodRef getSiblingCPU() { ! return null; ! //PENDING } --- 172,176 ---- */ public CPUThreadMethodRef getSiblingCPU() { ! return getMethod().getCPUThreadMethod( getThread() ); } *************** *** 183,188 **** */ public MonThreadMethodRef getSiblingMon() { ! return null; ! //PENDING } --- 182,186 ---- */ public MonThreadMethodRef getSiblingMon() { ! return getMethod().getMonThreadMethod( getThread() ); } *************** *** 195,198 **** --- 193,199 ---- /* * $Log$ + * Revision 1.15 2002/05/08 08:08:57 vachis + * siblings + * * Revision 1.14 2002/05/06 17:32:13 vachis * new api implemention Index: AllocThreadTraceData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTraceData.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** AllocThreadTraceData.java 6 May 2002 17:32:13 -0000 1.14 --- AllocThreadTraceData.java 8 May 2002 08:08:57 -0000 1.15 *************** *** 150,155 **** */ public CPUThreadTraceRef getSiblingCPU() { ! return null; ! //PENDING } --- 150,154 ---- */ public CPUThreadTraceRef getSiblingCPU() { ! return getAllocTrace().getSiblingCPU().getCPUThreadTrace( getThread() ); } *************** *** 161,166 **** */ public MonThreadTraceRef getSiblingMon() { ! return null; ! //PENDING } --- 160,164 ---- */ public MonThreadTraceRef getSiblingMon() { ! return getAllocTrace().getSiblingMon().getMonThreadTrace( getThread() ); } *************** *** 173,176 **** --- 171,177 ---- /* * $Log$ + * Revision 1.15 2002/05/08 08:08:57 vachis + * siblings + * * Revision 1.14 2002/05/06 17:32:13 vachis * new api implemention Index: CPUThreadMethodData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadMethodData.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** CPUThreadMethodData.java 6 May 2002 17:32:13 -0000 1.9 --- CPUThreadMethodData.java 8 May 2002 08:08:57 -0000 1.10 *************** *** 134,139 **** */ public AllocThreadMethodRef getSiblingAlloc() { ! return null; ! //PENDING } --- 134,138 ---- */ public AllocThreadMethodRef getSiblingAlloc() { ! return getMethod().getAllocThreadMethod( getThread() ); } *************** *** 145,150 **** */ public MonThreadMethodRef getSiblingMon() { ! return null; ! //PENDING } --- 144,148 ---- */ public MonThreadMethodRef getSiblingMon() { ! return getMethod().getMonThreadMethod( getThread() ); } *************** *** 156,159 **** --- 154,160 ---- /* * $Log$ + * Revision 1.10 2002/05/08 08:08:57 vachis + * siblings + * * Revision 1.9 2002/05/06 17:32:13 vachis * new api implemention Index: CPUThreadTraceData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadTraceData.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** CPUThreadTraceData.java 6 May 2002 17:32:13 -0000 1.7 --- CPUThreadTraceData.java 8 May 2002 08:08:57 -0000 1.8 *************** *** 104,109 **** */ public AllocThreadTraceRef getSiblingAlloc() { ! return null; ! //PENDING } --- 104,108 ---- */ public AllocThreadTraceRef getSiblingAlloc() { ! return getCPUTrace().getSiblingAlloc().getAllocThreadTrace(getThread()); } *************** *** 115,120 **** */ public MonThreadTraceRef getSiblingMon() { ! return null; ! //PENDING } --- 114,118 ---- */ public MonThreadTraceRef getSiblingMon() { ! return getCPUTrace().getSiblingMon().getMonThreadTrace( getThread() ); } *************** *** 127,130 **** --- 125,131 ---- /* * $Log$ + * Revision 1.8 2002/05/08 08:08:57 vachis + * siblings + * * Revision 1.7 2002/05/06 17:32:13 vachis * new api implemention Index: MonThreadMethodData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadMethodData.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** MonThreadMethodData.java 6 May 2002 17:32:13 -0000 1.6 --- MonThreadMethodData.java 8 May 2002 08:08:57 -0000 1.7 *************** *** 134,139 **** */ public AllocThreadMethodRef getSiblingAlloc() { ! return null; ! //PENDING } --- 134,138 ---- */ public AllocThreadMethodRef getSiblingAlloc() { ! return getMethod().getAllocThreadMethod( getThread() ); } *************** *** 145,150 **** */ public CPUThreadMethodRef getSiblingCPU() { ! return null; ! //PENDING } --- 144,148 ---- */ public CPUThreadMethodRef getSiblingCPU() { ! return getMethod().getCPUThreadMethod( getThread() ); } *************** *** 157,160 **** --- 155,161 ---- /* * $Log$ + * Revision 1.7 2002/05/08 08:08:57 vachis + * siblings + * * Revision 1.6 2002/05/06 17:32:13 vachis * new api implemention Index: MonThreadTraceData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadTraceData.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** MonThreadTraceData.java 6 May 2002 17:32:13 -0000 1.5 --- MonThreadTraceData.java 8 May 2002 08:08:57 -0000 1.6 *************** *** 98,101 **** --- 98,103 ---- } + // ---------- return siblings + /** Returns sibling alloc object. Sibbling object is object with same roots. * In this case it means that object belons to same thread and corresponding trace. *************** *** 105,110 **** */ public AllocThreadTraceRef getSiblingAlloc() { ! return null; ! //PENDING } --- 107,111 ---- */ public AllocThreadTraceRef getSiblingAlloc() { ! return getMonTrace().getSiblingAlloc().getAllocThreadTrace( getThread() ); } *************** *** 116,121 **** */ public CPUThreadTraceRef getSiblingCPU() { ! return null; ! //PENDING } --- 117,121 ---- */ public CPUThreadTraceRef getSiblingCPU() { ! return getMonTrace().getSiblingCPU().getCPUThreadTrace( getThread() ); } *************** *** 127,130 **** --- 127,133 ---- /* * $Log$ + * Revision 1.6 2002/05/08 08:08:57 vachis + * siblings + * * Revision 1.5 2002/05/06 17:32:13 vachis * new api implemention |