From: Pavel V. <va...@us...> - 2002-07-22 17:50:05
|
Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi In directory usw-pr-cvs1:/tmp/cvs-serv5782 Modified Files: VirtualMachineRef.java Log Message: realtime via getRealtimeImage() method, it no longer extends VirtualMachineImageRef Index: VirtualMachineRef.java =================================================================== RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/VirtualMachineRef.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** VirtualMachineRef.java 15 Jul 2002 21:45:06 -0000 1.4 --- VirtualMachineRef.java 22 Jul 2002 17:49:59 -0000 1.5 *************** *** 21,28 **** package net.sourceforge.javaprofiler.jpi; ! public interface VirtualMachineRef extends VirtualMachineImageRef { Snapshot createSnapshot(); Snapshot createSnapshot( Snapshot.Configuration conf ); void suspendThreads(); void resumeThreads(); --- 21,51 ---- package net.sourceforge.javaprofiler.jpi; ! public interface VirtualMachineRef { ! /** ! * Creates the snapshot of the current profiling information in the ! * virtual machine. ! */ Snapshot createSnapshot(); + + /** + * Creates the snapshot of the current profiling information in the + * virtual machine. + */ Snapshot createSnapshot( Snapshot.Configuration conf ); + + /** + *Returns realtime image of library. After that you can access information in library realtime + * without creating snapshot. For one instace of VirtalMachineImpl it returns always the same refenrece. + */ + VirtualMachineImageRef getRealtimeImage(); + + /** + * Suspends all threads in the virtual machine. + */ void suspendThreads(); + + /** + * Resumess all threads in the virtual machine. + */ void resumeThreads(); *************** *** 101,104 **** --- 124,130 ---- /* * $Log$ + * Revision 1.5 2002/07/22 17:49:59 vachis + * realtime via getRealtimeImage() method, it no longer extends VirtualMachineImageRef + * * Revision 1.4 2002/07/15 21:45:06 vachis * method createSnapshot() accepts configuration class |