Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi
In directory usw-pr-cvs1:/tmp/cvs-serv19177/net/sourceforge/javaprofiler/jpi
Modified Files:
AllocThreadMethodRef.java AllocThreadTraceRef.java
AllocTraceRef.java AllocTypeMethodRef.java
AllocTypeThreadMethodRef.java AllocTypeThreadRef.java
AllocTypeThreadTraceRef.java AllocTypeTraceRef.java
CPUThreadMethodRef.java CPUThreadTraceRef.java
CPUTraceRef.java CallTreeRef.java ChildrenEvent.java
ChildrenListener.java ClassRef.java Constants.java
DisconnectionListener.java FieldRef.java FrameRef.java
GCRunRef.java HasChildren.java HasLocationRoot.java
HasThreadRoot.java HasTypeRoot.java LocationRef.java
MethodRef.java MonThreadMethodRef.java MonThreadTraceRef.java
MonTraceRef.java ThreadGroupRef.java ThreadRef.java
TraceRef.java TypeRef.java VirtualMachineImageRef.java
VirtualMachineRef.java
Log Message:
Javadoc update.
Index: AllocThreadMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocThreadMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocThreadMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocThreadMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,36 ****
import java.util.List;
! public interface AllocThreadMethodRef extends AllocStat, HasThreadRoot,
HasLocationRoot, HasChildren {
CPUThreadMethodRef getSiblingCPU();
MonThreadMethodRef getSiblingMon();
!
List getAllocThreadTraces();
List getAllocTypeThreadMethods();
AllocTypeThreadMethodRef getAllocTypeThreadMethod( TypeRef peer);
!
ThreadRef getThread();
MethodRef getMethod();
}
--- 23,75 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of any type allocated during execution of specific method and specific
! * thread.
! */
!
! public interface AllocThreadMethodRef extends AllocStat, HasThreadRoot,
HasLocationRoot, HasChildren {
+ /**
+ * Returns object representing CPU related information about
+ * the same method and thread this object belongs to.
+ */
CPUThreadMethodRef getSiblingCPU();
+
+ /**
+ * Returns object representing monitor related information about
+ * the same method and thread this object belongs to.
+ */
MonThreadMethodRef getSiblingMon();
!
! /**
! * Returns the list representing memory related information about
! * instances of different types allocated during execution of the
! * trace and thread this object belongs to.
! */
List getAllocThreadTraces();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of different types allocated during execution of the
+ * same method and thread this object belongs to.
+ */
List getAllocTypeThreadMethods();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of the specified type allocated during execution of the
+ * same method and thread this object belongs to.
+ */
AllocTypeThreadMethodRef getAllocTypeThreadMethod( TypeRef peer);
!
! /**
! * Returns the thread object this object belongs to.
! */
ThreadRef getThread();
+
+ /**
+ * Returns the method object this object belongs to.
+ */
MethodRef getMethod();
}
***************
*** 38,41 ****
--- 77,84 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 48,50 ****
* License added.
*
! */
\ No newline at end of file
--- 91,93 ----
* License added.
*
! */
Index: AllocThreadTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocThreadTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocThreadTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocThreadTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,43 ****
import java.util.List;
! public interface AllocThreadTraceRef extends AllocStat, HasThreadRoot, HasLocationRoot {
CPUThreadTraceRef getSiblingCPU();
MonThreadTraceRef getSiblingMon();
!
List getAllocTypeThreadTraces();
- AllocTypeThreadTraceRef getAllocTypeThreadTrace( TypeRef peer);
AllocThreadMethodRef getAllocThreadMethod();
ThreadRef getThread();
AllocTraceRef getAllocTrace();
-
- void addChildrenListener( int type, ChildrenListener listener);
- void removeChildrenListener( int type, ChildrenListener listener);
}
/*
* $Log$
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
--- 23,82 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of any type allocated during execution of specific trace and specific
! * thread.
! */
!
! public interface AllocThreadTraceRef extends AllocStat, HasChildren, HasThreadRoot, HasLocationRoot {
!
! /**
! * Returns object representing CPU related information about
! * the same trace and thread this object belongs to.
! */
CPUThreadTraceRef getSiblingCPU();
+
+ /**
+ * Returns object representing monitor related information about
+ * the same trace and thread this object belongs to.
+ */
MonThreadTraceRef getSiblingMon();
!
! /**
! * Returns the list representing memory related information about
! * instances of different types allocated during execution of the
! * same method and thread this object belongs to.
! */
List getAllocTypeThreadTraces();
+ /**
+ * Returns the list representing memory related information about
+ * instances of the specified type allocated during execution of the
+ * same method and thread this object belongs to.
+ */
+ AllocTypeThreadTraceRef getAllocTypeThreadTrace( TypeRef peer);
+
+ /**
+ * Returns the parent <code>AllocThreadMethod</code>.
+ */
AllocThreadMethodRef getAllocThreadMethod();
+
+ /**
+ * Returns the thread this object belongs to.
+ */
ThreadRef getThread();
+
+ /**
+ * Returns the trace this object belongs to.
+ */
AllocTraceRef getAllocTrace();
}
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 50,52 ****
* License added.
*
! */
\ No newline at end of file
--- 89,91 ----
* License added.
*
! */
Index: AllocTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
public interface AllocTraceRef extends AllocStat, TraceRef, HasLocationRoot,
HasChildren {
CPUTraceRef getSiblingCPU();
- MonTraceRef getSiblingMon();
List getAllocThreadTraces();
AllocThreadTraceRef getAllocThreadTrace( ThreadRef peer);
List getAllocTypeTraces();
AllocTypeTraceRef getAllocTypeTrace( TypeRef peer);
}
--- 23,68 ----
import java.util.List;
+ /**
+ * This interface represents memory related information about instances
+ * allocated during execution of specific trace.
+ */
+
public interface AllocTraceRef extends AllocStat, TraceRef, HasLocationRoot,
HasChildren {
+ /**
+ * Returns object representing CPU related information about
+ * the same trace this object belongs to.
+ */
CPUTraceRef getSiblingCPU();
+ /**
+ * Returns object representing monitor related information about
+ * the same trace this object belongs to.
+ */
+ MonTraceRef getSiblingMon();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances allocated during execution of the different threads and
+ * the same trace this object belongs to.
+ */
List getAllocThreadTraces();
+ /**
+ * Returns the list representing memory related information about
+ * instances allocated during execution of the specified thread and
+ * the same trace this object belongs to.
+ */
AllocThreadTraceRef getAllocThreadTrace( ThreadRef peer);
+ /**
+ * Returns the list representing memory related information about
+ * instances of different types allocated during execution of
+ * the same trace this object belongs to.
+ */
List getAllocTypeTraces();
+ /**
+ * Returns the list representing memory related information about
+ * instances of specified types allocated during execution of
+ * the same trace this object belongs to.
+ */
AllocTypeTraceRef getAllocTypeTrace( TypeRef peer);
}
***************
*** 36,39 ****
--- 70,77 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 84,86 ----
* License added.
*
! */
Index: AllocTypeMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
public interface AllocTypeMethodRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
!
List getAllocTypeTraces();
List getAllocTypeThreadMethods();
AllocTypeThreadMethodRef getAllocTypeThreadMethod( ThreadRef peer);
TypeRef getType();
MethodRef getMethod();
}
--- 23,62 ----
import java.util.List;
+ /**
+ * This interface represents memory related information about instances
+ * of specific type allocated during execution of specific method.
+ */
+
public interface AllocTypeMethodRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
! /**
! * Returns the list representing memory related information about
! * instances of the same type allocated during execution of the same
! * thread this object belongs to.
! */
List getAllocTypeTraces();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of the same type allocated during execution of the
+ * same method this object belongs to.
+ */
List getAllocTypeThreadMethods();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of the same type allocated during execution of the
+ * same method this object belongs to and the specified thread.
+ */
AllocTypeThreadMethodRef getAllocTypeThreadMethod( ThreadRef peer);
+ /**
+ * Returns the type object this object belongs to.
+ */
TypeRef getType();
+
+ /**
+ * Returns the method object this object belongs to.
+ */
MethodRef getMethod();
}
***************
*** 36,39 ****
--- 64,71 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 78,80 ----
* License added.
*
! */
Index: AllocTypeThreadMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeThreadMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeThreadMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeThreadMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
! public interface AllocTypeThreadMethodRef extends AllocStat,
! HasTypeRoot, HasThreadRoot,
HasLocationRoot, HasChildren {
!
List getAllocTypeThreadTraces();
!
AllocTypeMethodRef getAllocTypeMethod();
AllocThreadMethodRef getAllocThreadMethod();
AllocTypeThreadRef getAllocTypeThread();
}
--- 23,52 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of specific type allocated during execution of specific method and specific
! * thread.
! */
! public interface AllocTypeThreadMethodRef extends AllocStat,
! HasTypeRoot, HasThreadRoot,
HasLocationRoot, HasChildren {
! /**
! * Returns the list representing memory related information about
! * instances of specific type allocated during execution of the
! * related trace and thread this object belongs to.
! */
List getAllocTypeThreadTraces();
!
! /**
! * Returns the typemethod object this object belongs to.
! */
AllocTypeMethodRef getAllocTypeMethod();
+ /**
+ * Returns the threadmethod object this object belongs to.
+ */
AllocThreadMethodRef getAllocThreadMethod();
+ /**
+ * Returns the typethread object this object belongs to.
+ */
AllocTypeThreadRef getAllocTypeThread();
}
***************
*** 36,39 ****
--- 54,61 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 68,70 ----
* License added.
*
! */
Index: AllocTypeThreadRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeThreadRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeThreadRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeThreadRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 22,35 ****
import java.util.List;
!
! public interface AllocTypeThreadRef extends AllocStat, HasTypeRoot,
HasThreadRoot, HasChildren {
!
List getAllocTypeThreadMethods();
AllocTypeThreadMethodRef getAllocTypeThreadMethod( MethodRef peer);
List getAllocTypeThreadTraces();
AllocTypeThreadTraceRef getAllocTypeThreadTrace( AllocTraceRef peer);
!
TypeRef getType();
ThreadRef getThread();
}
--- 22,68 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of specific type allocated during execution of specific thread.
! */
! public interface AllocTypeThreadRef extends AllocStat, HasTypeRoot,
HasThreadRoot, HasChildren {
!
! /**
! * Returns the list representing memory related information about
! * instances of specific type allocated during execution of the
! * different methods and thread this object belongs to.
! */
List getAllocTypeThreadMethods();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of specific type allocated during execution of the
+ * specified method and thread this object belongs to.
+ */
AllocTypeThreadMethodRef getAllocTypeThreadMethod( MethodRef peer);
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of specific type allocated during execution of the
+ * different traces and thread this object belongs to.
+ */
List getAllocTypeThreadTraces();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of specific type allocated during execution of the
+ * specified trace and thread this object belongs to.
+ */
AllocTypeThreadTraceRef getAllocTypeThreadTrace( AllocTraceRef peer);
!
! /**
! * Returns the type object this object belongs to.
! */
TypeRef getType();
+
+ /**
+ * Returns the thread object this object belongs to.
+ */
ThreadRef getThread();
}
***************
*** 37,40 ****
--- 70,77 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 47,49 ****
* License added.
*
! */
\ No newline at end of file
--- 84,86 ----
* License added.
*
! */
Index: AllocTypeThreadTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeThreadTraceRef.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AllocTypeThreadTraceRef.java 27 Jul 2002 22:25:17 -0000 1.5
--- AllocTypeThreadTraceRef.java 12 Sep 2002 13:00:12 -0000 1.6
***************
*** 23,32 ****
import java.util.List;
! public interface AllocTypeThreadTraceRef extends AllocStat,
HasTypeRoot, HasThreadRoot, HasLocationRoot {
!
AllocTypeThreadMethodRef getAllocTypeThreadMethod();
AllocTypeTraceRef getAllocTypeTrace();
AllocThreadTraceRef getAllocThreadTrace();
AllocTypeThreadRef getAllocTypeThread();
}
--- 23,54 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of specific type allocated during execution of specific method and specific
! * thread.
! */
! public interface AllocTypeThreadTraceRef extends AllocStat,
HasTypeRoot, HasThreadRoot, HasLocationRoot {
!
! /**
! * Returns the list representing memory related information about
! * instances of specific type allocated during execution of the
! * related method and thread this object belongs to.
! */
AllocTypeThreadMethodRef getAllocTypeThreadMethod();
+
+ /**
+ * Returns the typetrace object this object belongs to.
+ */
AllocTypeTraceRef getAllocTypeTrace();
+
+ /**
+ * Returns the threadtrace object this object belongs to.
+ */
AllocThreadTraceRef getAllocThreadTrace();
+
+ /**
+ * Returns the typethread object this object belongs to.
+ */
AllocTypeThreadRef getAllocTypeThread();
}
***************
*** 34,37 ****
--- 56,63 ----
/*
* $Log$
+ * Revision 1.6 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.5 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 70,72 ----
* License added.
*
! */
Index: AllocTypeTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
! public interface AllocTypeTraceRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
!
List getAllocTypeThreadTraces();
- AllocTypeThreadTraceRef getAllocTypeThreadTrace( ThreadRef peer);
AllocTypeMethodRef getAllocTypeMethod();
TypeRef getType();
AllocTraceRef getAllocTrace();
}
--- 23,59 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of any specific type allocated during execution of specific trace.
! */
!
! public interface AllocTypeTraceRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
! /**
! * Returns the list representing memory related information about
! * instances of the same type allocated during execution of the
! * same method this object belongs to.
! */
List getAllocTypeThreadTraces();
+ /**
+ * Returns the object representing memory related information about
+ * instances of the same type allocated during execution of the
+ * same method this object belongs to and the specified thread.
+ */
+ AllocTypeThreadTraceRef getAllocTypeThreadTrace( ThreadRef peer);
+
+ /**
+ * Returns the related typemethod object.
+ */
AllocTypeMethodRef getAllocTypeMethod();
+
+ /**
+ * Returns the type object this object belongs to.
+ */
TypeRef getType();
+ /**
+ * Returns the type object this object belongs to.
+ */
AllocTraceRef getAllocTrace();
}
***************
*** 36,39 ****
--- 61,68 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 75,77 ----
* License added.
*
! */
Index: CPUThreadMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CPUThreadMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** CPUThreadMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- CPUThreadMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
! public interface CPUThreadMethodRef extends CPUStat, HasThreadRoot,
HasLocationRoot, HasChildren {
AllocThreadMethodRef getSiblingAlloc();
MonThreadMethodRef getSiblingMon();
!
List getCPUThreadTraces();
!
ThreadRef getThread();
MethodRef getMethod();
}
--- 23,57 ----
import java.util.List;
! /**
! * <code>CPUThreadMethodRef</code> contains CPU related information
! * about execution of some method in some thread.
! */
! public interface CPUThreadMethodRef extends CPUStat, HasThreadRoot,
HasLocationRoot, HasChildren {
+ /**
+ * Returns the object that contains memory related information
+ * about the same method and thread this object belongs to.
+ */
AllocThreadMethodRef getSiblingAlloc();
+
+ /**
+ * Returns the object that contains monitor related information
+ * about the same method and thread this object belongs to.
+ */
MonThreadMethodRef getSiblingMon();
!
! /**
! * Returns the object that contains CPU related information
! * about related threadtraces.
! */
List getCPUThreadTraces();
!
! /**
! * Returns the thread this object belongs to.
! */
ThreadRef getThread();
+ /**
+ * Returns the method this object belongs to.
+ */
MethodRef getMethod();
}
***************
*** 36,39 ****
--- 59,66 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 73,75 ----
* License added.
*
! */
Index: CPUThreadTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CPUThreadTraceRef.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** CPUThreadTraceRef.java 27 Jul 2002 22:25:17 -0000 1.5
--- CPUThreadTraceRef.java 12 Sep 2002 13:00:12 -0000 1.6
***************
*** 23,32 ****
--- 23,58 ----
import java.util.List;
+ /**
+ * <code>CPUThreadTraceRef</code> contains CPU related information
+ * about execution of some trace in some thread.
+ */
public interface CPUThreadTraceRef extends CPUStat, HasThreadRoot, HasLocationRoot {
+
+ /**
+ * Returns the object that contains memory related information
+ * about the same trace and thread this object belongs to.
+ */
AllocThreadTraceRef getSiblingAlloc();
+
+ /**
+ * Returns the object that contains monitor related information
+ * about the same method and thread this object belongs to.
+ */
MonThreadTraceRef getSiblingMon();
+ /**
+ * Returns the object that contains CPU related information
+ * about related threadtrace.
+ */
CPUThreadMethodRef getCPUThreadMethod();
+
+ /**
+ * Returns the thread this object belongs to.
+ */
ThreadRef getThread();
+
+ /**
+ * Returns the method this object belongs to.
+ */
CPUTraceRef getCPUTrace();
}
***************
*** 34,37 ****
--- 60,67 ----
/*
* $Log$
+ * Revision 1.6 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.5 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 74,76 ----
* License added.
*
! */
Index: CPUTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CPUTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** CPUTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- CPUTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,32 ****
import java.util.List;
public interface CPUTraceRef extends CPUStat, TraceRef, HasLocationRoot,
HasChildren {
AllocTraceRef getSiblingAlloc();
- MonTraceRef getSiblingMon();
List getCPUThreadTraces();
CPUThreadTraceRef getCPUThreadTrace( ThreadRef peer);
}
--- 23,53 ----
import java.util.List;
+ /**
+ * <code>CPUTrace</code> contains CPU related information about one trace.
+ */
public interface CPUTraceRef extends CPUStat, TraceRef, HasLocationRoot,
HasChildren {
+ /**
+ * Returns the object representing memory related information
+ * about the same trace as this object.
+ */
AllocTraceRef getSiblingAlloc();
+ /**
+ * Returns the object representing monitor related information
+ * about the same trace as this object.
+ */
+ MonTraceRef getSiblingMon();
+
+ /**
+ * Returns the list of objects containing CPU related information
+ * threadtraces.
+ */
List getCPUThreadTraces();
+
+ /**
+ * Returns the threadtrace that belongs to the spefied thread and the same
+ * trace this object belongs to.
+ */
CPUThreadTraceRef getCPUThreadTrace( ThreadRef peer);
}
***************
*** 34,37 ****
--- 55,62 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 69,71 ----
* License added.
*
! */
Index: CallTreeRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CallTreeRef.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** CallTreeRef.java 31 Jul 2002 20:37:39 -0000 1.7
--- CallTreeRef.java 12 Sep 2002 13:00:12 -0000 1.8
***************
*** 23,41 ****
import java.util.List;
! public interface CallTreeRef {
FrameRef getFrame();
long getCPUHitsCount();
long getCPUPureTime();
long getCPUCumulativeTime();
CallTreeRef getParent();
!
List getChildren();
-
- void addChildrenListener( int type, ChildrenListener listener);
- void removeChildrenListener( int type, ChildrenListener listener);
}
/*
* $Log$
* Revision 1.7 2002/07/31 20:37:39 petrul
* fixed broken commentary
--- 23,68 ----
import java.util.List;
! /**
! * This interface represents one node in calltree.
! */
! public interface CallTreeRef extends HasChildren {
!
! /**
! * Returns the frame this node belongs to.
! */
FrameRef getFrame();
+
+ /**
+ * Returns the number of CPU hits.
+ */
long getCPUHitsCount();
+
+ /**
+ * Returns the pure time spent in related frame.
+ */
long getCPUPureTime();
+ /**
+ * Returns the cumulative (eg. with frames called from this frame) time
+ * spent in related frame.
+ */
long getCPUCumulativeTime();
+ /**
+ * Returns the parent node.
+ */
CallTreeRef getParent();
!
! ...
[truncated message content] |