| java.lang.Object org.netbeans.lib.profiler.global.ProfilingSessionStatus
ProfilingSessionStatus | public class ProfilingSessionStatus (Code) | | Various data pertinent to the profiling session. Note that this class is used by both client and back end,
although some data at the back end side is contained in the reduced form, to reduce memory usage.
author: Tomas Hurka author: Misha Dmitriev author: Adrian Mos |
Method Summary | |
public void | beginTrans(boolean mutable) | public boolean | collectingTwoTimeStamps() | public void | endTrans() | public int[] | getAllocatedInstancesCount() | public int[] | getClassLoaderIds() | public String[] | getClassNames() | public String[] | getInstrMethodClasses() | public boolean[] | getInstrMethodInvoked() | public String[] | getInstrMethodNames() | public String[] | getInstrMethodSignatures() | public int | getNInstrClasses() | public int | getNInstrMethods() | public int | getStartingMethodId() | public void | resetInstrClassAndMethodInfo() | public void | setInstrMethodNames(String[] value) | public void | setInstrMethodSignatures(String[] value) | public void | setTimerTypes(boolean absolute, boolean threadCPU) | public void | updateAllocatedInstancesCountInfoInClient(String addedClassName) Takes the delta in the number of profiled classes and their names, and updates internal data structures. | public void | updateAllocatedInstancesCountInfoInServer(int nTotalClasses) Same as above, but takes the total number of classes, and should be used only at server side. | public void | updateInstrMethodsInfo(int nClasses, int nMethods, String[] classes, int[] loaderIds, int[] nMethodsInClass, String[] methodNames, String[] methodSignatures, boolean[] isMethodLeaf) This method updates information about instrumented methods (class, name, signature, class loader for class etc.)
for a group of methods. | public void | updateInstrMethodsInfo(String className, int loaderId, String methodName, String methodSignature) This method adds information about a single instrumented method. |
CODE_REGION_CLASS_IDX | final public static int CODE_REGION_CLASS_IDX(Code) | | |
N_TIMER_CONSTANTS | final public static int N_TIMER_CONSTANTS(Code) | | |
absoluteTimerOn | public boolean absoluteTimerOn(Code) | | |
currentInstrType | public int currentInstrType(Code) | | |
dumpAbsTimeStamp | public long dumpAbsTimeStamp(Code) | | |
fullTargetJDKVersionString | public String fullTargetJDKVersionString(Code) | | |
instrClassLoaderName | public String instrClassLoaderName(Code) | | |
instrEndLine | public int instrEndLine(Code) | | |
instrScheme | public int instrScheme(Code) | | |
instrStartLine | public int instrStartLine(Code) | | |
maxHeapSize | public long maxHeapSize(Code) | | |
methodEntryExitCallTime | public double[] methodEntryExitCallTime(Code) | | |
methodEntryExitInnerTime | public double[] methodEntryExitInnerTime(Code) | | |
methodEntryExitOuterTime | public double[] methodEntryExitOuterTime(Code) | | |
profilingPointIDs | public int[] profilingPointIDs(Code) | | |
remoteProfiling | public boolean remoteProfiling(Code) | | |
runningInAttachedMode | public boolean runningInAttachedMode(Code) | | |
startProfilingPointsActive | public boolean startProfilingPointsActive(Code) | | |
startupTimeInCounts | public long startupTimeInCounts(Code) | | |
startupTimeMillis | public long startupTimeMillis(Code) | | |
targetAppRunning | public volatile boolean targetAppRunning(Code) | | |
targetJDKVersionString | public String targetJDKVersionString(Code) | | |
threadCPUTimerOn | public boolean threadCPUTimerOn(Code) | | |
timerCountsInSecond | public long[] timerCountsInSecond(Code) | | |
beginTrans | public void beginTrans(boolean mutable)(Code) | | |
collectingTwoTimeStamps | public boolean collectingTwoTimeStamps()(Code) | | |
endTrans | public void endTrans()(Code) | | |
getAllocatedInstancesCount | public int[] getAllocatedInstancesCount()(Code) | | |
getClassLoaderIds | public int[] getClassLoaderIds()(Code) | | |
getInstrMethodClasses | public String[] getInstrMethodClasses()(Code) | | |
getInstrMethodInvoked | public boolean[] getInstrMethodInvoked()(Code) | | |
getInstrMethodNames | public String[] getInstrMethodNames()(Code) | | |
getInstrMethodSignatures | public String[] getInstrMethodSignatures()(Code) | | |
getNInstrClasses | public int getNInstrClasses()(Code) | | |
getNInstrMethods | public int getNInstrMethods()(Code) | | |
getStartingMethodId | public int getStartingMethodId()(Code) | | |
resetInstrClassAndMethodInfo | public void resetInstrClassAndMethodInfo()(Code) | | |
setInstrMethodNames | public void setInstrMethodNames(String[] value)(Code) | | |
setInstrMethodSignatures | public void setInstrMethodSignatures(String[] value)(Code) | | |
setTimerTypes | public void setTimerTypes(boolean absolute, boolean threadCPU)(Code) | | |
updateAllocatedInstancesCountInfoInClient | public void updateAllocatedInstancesCountInfoInClient(String addedClassName)(Code) | | Takes the delta in the number of profiled classes and their names, and updates internal data structures.
Should be used only at client side.
|
updateAllocatedInstancesCountInfoInServer | public void updateAllocatedInstancesCountInfoInServer(int nTotalClasses)(Code) | | Same as above, but takes the total number of classes, and should be used only at server side.
|
updateInstrMethodsInfo | public void updateInstrMethodsInfo(int nClasses, int nMethods, String[] classes, int[] loaderIds, int[] nMethodsInClass, String[] methodNames, String[] methodSignatures, boolean[] isMethodLeaf)(Code) | | This method updates information about instrumented methods (class, name, signature, class loader for class etc.)
for a group of methods. Can be used at both client and server side.
|
updateInstrMethodsInfo | public void updateInstrMethodsInfo(String className, int loaderId, String methodName, String methodSignature)(Code) | | This method adds information about a single instrumented method. Intended to be used on client side only.
|
|
|