From: Lukas P. <pe...@us...> - 2002-03-07 10:35:28
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data In directory usw-pr-cvs1:/tmp/cvs-serv27538/net/sourceforge/javaprofiler/jpiimpl/data Modified Files: ThreadData.java Log Message: callTree field added Index: ThreadData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ThreadData.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** ThreadData.java 4 Mar 2002 23:59:53 -0000 1.17 --- ThreadData.java 7 Mar 2002 10:35:24 -0000 1.18 *************** *** 59,63 **** */ private Map CPUMethods; - /** * Map of methods invoked in this thread. --- 59,62 ---- *************** *** 65,68 **** --- 64,70 ---- */ private Map MonMethods; + /** Call tree of methods in this thread. + */ + private CallTreeData callTree; /** *************** *** 305,312 **** --- 307,331 ---- return (MonThreadMethodData)MonMethods.get(ID); } + + /** Returns tree of method calls in this thread. + * @return Root of call tree for this thread + */ + public CallTreeData getCallTree () { + return callTree; + } + + /** Set tree of method calls in this thread. + * @param root Root of call tree for this thread + */ + public void setCallTree (CallTreeData root) { + callTree = root; + } } /* * $Log$ + * Revision 1.18 2002/03/07 10:35:24 petrul + * callTree field added + * * Revision 1.17 2002/03/04 23:59:53 vachis * removed/delayed allocation, use of Collections.EMPTY_MAP |