| java.lang.Object org.netbeans.lib.profiler.results.cpu.CPUCCTContainer
All known Subclasses: org.netbeans.lib.profiler.results.cpu.CPUCCTClassContainer, org.netbeans.lib.profiler.results.cpu.AllThreadsMergedCPUCCTContainer,
CPUCCTContainer | public class CPUCCTContainer (Code) | | An instance of this class contains a presentation-time CCT for the given thread in the compact, flattened form, that is also fast
to generate and save/retrieve.
Can represent data only on the method level "view" AKA "aggregation level". The CPUCCTClassContainer subclass provides functionality
to create and represent data at class and package aggregation level. The AllThreadsMergedCPUCCTContainer also supports views. A single
instance of CPUCCTContainer or its subclass can represent data only on a single aggregation level.
author: Tomas Hurka author: Misha Dmitriev |
Method Summary | |
protected void | addFlatProfTimeForNode(int dataOfs) | protected void | addToReverseCCT(PrestimeCPUCCTNodeFree reverseNode, int methodId) | public boolean | canDisplayWholeGraphCPUTime() | protected void | checkStraightGraphNode(int dataOfs) Walk all the elements of the main graph, looking for nodes with selectedMethodId signature. | protected FlatProfileContainer | generateFlatProfile() | protected PrestimeCPUCCTNodeFree | generateReverseCCT(int methodId) | protected int | get2Bytes(int ofs) | protected int | get3Bytes(int ofs) | protected int | get4Bytes(int ofs) | protected long | get5Bytes(int ofs) | public CPUResultsSnapshot | getCPUResSnapshot() | public int | getChildOfsForNodeOfs(int nodeOfs, int childIdx) | public FlatProfileContainer | getFlatProfile() | public String[] | getMethodClassNameAndSig(int methodId) | public int | getMethodIdForNodeOfs(int nodeOfs) | public int | getNCallsForNodeOfs(int nodeOfs) | public int | getNChildrenForNodeOfs(int nodeOfs) | public PrestimeCPUCCTNode | getReverseCCT(int methodId) | public PrestimeCPUCCTNode | getRootNode() | public long | getSelfTime0ForNodeOfs(int nodeOfs) | public long | getSelfTime1ForNodeOfs(int nodeOfs) | public long | getSleepTime0ForNodeOfs(int nodeOfs) | public int | getThreadId() | public String | getThreadName() | public static double | getTimeInInjectedCodeForDisplayedThread() | public long | getTotalTime0ForNodeOfs(int nodeOfs) | public long | getTotalTime1ForNodeOfs(int nodeOfs) | public long | getWaitTime0ForNodeOfs(int nodeOfs) | public static double | getWholeGraphGrossTimeAbsForDisplayedThread() | public long | getWholeGraphNetTime0() | public long | getWholeGraphNetTime1() | public long | getWholeGraphPureTimeAbs() | public long | getWholeGraphPureTimeThreadCPU() | public boolean | isCollectingTwoTimeStamps() | protected FlatProfileContainer | postGenerateFlatProfile() | protected void | preGenerateFlatProfile() | public void | readFromStream(DataInputStream in) | protected void | setChildOfsForNodeOfs(int nodeOfs, int childIdx, int val) | protected void | setMethodIdForNodeOfs(int nodeOfs, int val) | protected void | setNCallsForNodeOfs(int nodeOfs, int val) | protected void | setNChildrenForNodeOfs(int nodeOfs, int val) | protected void | setSelfTime0ForNodeOfs(int nodeOfs, long val) | protected void | setSelfTime1ForNodeOfs(int nodeOfs, long val) | protected void | setSleepTime0ForNodeOfs(int dataOfs, long waitTime0) | protected void | setTotalTime0ForNodeOfs(int nodeOfs, long val) | protected void | setTotalTime1ForNodeOfs(int nodeOfs, long val) | protected void | setWaitTime0ForNodeOfs(int dataOfs, long waitTime0) | protected void | store2Bytes(int ofs, int data) | protected void | store3Bytes(int ofs, int data) | protected void | store4Bytes(int ofs, int data) | protected void | store5Bytes(int ofs, long data) | public void | writeToStream(DataOutputStream out) |
CHILD_OFS_SIZE_3 | final protected static int CHILD_OFS_SIZE_3(Code) | | |
CHILD_OFS_SIZE_4 | final protected static int CHILD_OFS_SIZE_4(Code) | | |
OFS_METHODID | final protected static int OFS_METHODID(Code) | | |
OFS_NCALLS | final protected static int OFS_NCALLS(Code) | | |
OFS_NSUBNODES1 | final protected static int OFS_NSUBNODES1(Code) | | |
OFS_NSUBNODES2 | final protected static int OFS_NSUBNODES2(Code) | | |
OFS_SELFTIME0 | final protected static int OFS_SELFTIME0(Code) | | |
OFS_SELFTIME1 | final protected static int OFS_SELFTIME1(Code) | | |
OFS_SUBNODE01 | final protected static int OFS_SUBNODE01(Code) | | |
OFS_SUBNODE02 | final protected static int OFS_SUBNODE02(Code) | | |
OFS_TIME0 | final protected static int OFS_TIME0(Code) | | |
OFS_TIME1 | final protected static int OFS_TIME1(Code) | | |
childOfsSize | protected int childOfsSize(Code) | | |
collectingTwoTimeStamps | protected boolean collectingTwoTimeStamps(Code) | | |
compactData | protected byte[] compactData(Code) | | |
displayWholeThreadCPUTime | protected boolean displayWholeThreadCPUTime(Code) | | |
invPerMethodId | protected int[] invPerMethodId(Code) | | |
nodeSize | protected int nodeSize(Code) | | |
threadId | protected int threadId(Code) | | |
timeInInjectedCodeInAbsCounts | protected double timeInInjectedCodeInAbsCounts(Code) | | |
timeInInjectedCodeInThreadCPUCounts | protected double timeInInjectedCodeInThreadCPUCounts(Code) | | |
timePerMethodId0 | protected long[] timePerMethodId0(Code) | | |
timePerMethodId1 | protected long[] timePerMethodId1(Code) | | |
wholeGraphGrossTimeAbs | protected long wholeGraphGrossTimeAbs(Code) | | |
wholeGraphGrossTimeThreadCPU | protected long wholeGraphGrossTimeThreadCPU(Code) | | |
wholeGraphNetTime0 | protected long wholeGraphNetTime0(Code) | | |
wholeGraphNetTime1 | protected long wholeGraphNetTime1(Code) | | |
wholeGraphPureTimeAbs | protected long wholeGraphPureTimeAbs(Code) | | |
wholeGraphPureTimeThreadCPU | protected long wholeGraphPureTimeThreadCPU(Code) | | |
addFlatProfTimeForNode | protected void addFlatProfTimeForNode(int dataOfs)(Code) | | |
canDisplayWholeGraphCPUTime | public boolean canDisplayWholeGraphCPUTime()(Code) | | |
checkStraightGraphNode | protected void checkStraightGraphNode(int dataOfs)(Code) | | Walk all the elements of the main graph, looking for nodes with selectedMethodId signature.
Whenever one is found, add its path, in reversed form, to the rootNode.
When path is added, same-named nodes are merged until the first pair of different nodes is found.
|
get2Bytes | protected int get2Bytes(int ofs)(Code) | | |
get3Bytes | protected int get3Bytes(int ofs)(Code) | | |
get4Bytes | protected int get4Bytes(int ofs)(Code) | | |
get5Bytes | protected long get5Bytes(int ofs)(Code) | | |
getChildOfsForNodeOfs | public int getChildOfsForNodeOfs(int nodeOfs, int childIdx)(Code) | | |
getMethodClassNameAndSig | public String[] getMethodClassNameAndSig(int methodId)(Code) | | |
getMethodIdForNodeOfs | public int getMethodIdForNodeOfs(int nodeOfs)(Code) | | |
getNCallsForNodeOfs | public int getNCallsForNodeOfs(int nodeOfs)(Code) | | |
getNChildrenForNodeOfs | public int getNChildrenForNodeOfs(int nodeOfs)(Code) | | |
getSelfTime0ForNodeOfs | public long getSelfTime0ForNodeOfs(int nodeOfs)(Code) | | |
getSelfTime1ForNodeOfs | public long getSelfTime1ForNodeOfs(int nodeOfs)(Code) | | |
getSleepTime0ForNodeOfs | public long getSleepTime0ForNodeOfs(int nodeOfs)(Code) | | |
getThreadId | public int getThreadId()(Code) | | |
getTimeInInjectedCodeForDisplayedThread | public static double getTimeInInjectedCodeForDisplayedThread()(Code) | | |
getTotalTime0ForNodeOfs | public long getTotalTime0ForNodeOfs(int nodeOfs)(Code) | | |
getTotalTime1ForNodeOfs | public long getTotalTime1ForNodeOfs(int nodeOfs)(Code) | | |
getWaitTime0ForNodeOfs | public long getWaitTime0ForNodeOfs(int nodeOfs)(Code) | | |
getWholeGraphGrossTimeAbsForDisplayedThread | public static double getWholeGraphGrossTimeAbsForDisplayedThread()(Code) | | |
getWholeGraphNetTime0 | public long getWholeGraphNetTime0()(Code) | | |
getWholeGraphNetTime1 | public long getWholeGraphNetTime1()(Code) | | |
getWholeGraphPureTimeAbs | public long getWholeGraphPureTimeAbs()(Code) | | |
getWholeGraphPureTimeThreadCPU | public long getWholeGraphPureTimeThreadCPU()(Code) | | |
isCollectingTwoTimeStamps | public boolean isCollectingTwoTimeStamps()(Code) | | |
preGenerateFlatProfile | protected void preGenerateFlatProfile()(Code) | | |
setChildOfsForNodeOfs | protected void setChildOfsForNodeOfs(int nodeOfs, int childIdx, int val)(Code) | | |
setMethodIdForNodeOfs | protected void setMethodIdForNodeOfs(int nodeOfs, int val)(Code) | | |
setNCallsForNodeOfs | protected void setNCallsForNodeOfs(int nodeOfs, int val)(Code) | | |
setNChildrenForNodeOfs | protected void setNChildrenForNodeOfs(int nodeOfs, int val)(Code) | | |
setSelfTime0ForNodeOfs | protected void setSelfTime0ForNodeOfs(int nodeOfs, long val)(Code) | | |
setSelfTime1ForNodeOfs | protected void setSelfTime1ForNodeOfs(int nodeOfs, long val)(Code) | | |
setSleepTime0ForNodeOfs | protected void setSleepTime0ForNodeOfs(int dataOfs, long waitTime0)(Code) | | |
setTotalTime0ForNodeOfs | protected void setTotalTime0ForNodeOfs(int nodeOfs, long val)(Code) | | |
setTotalTime1ForNodeOfs | protected void setTotalTime1ForNodeOfs(int nodeOfs, long val)(Code) | | |
setWaitTime0ForNodeOfs | protected void setWaitTime0ForNodeOfs(int dataOfs, long waitTime0)(Code) | | |
store2Bytes | protected void store2Bytes(int ofs, int data)(Code) | | |
store3Bytes | protected void store3Bytes(int ofs, int data)(Code) | | |
store4Bytes | protected void store4Bytes(int ofs, int data)(Code) | | |
store5Bytes | protected void store5Bytes(int ofs, long data)(Code) | | |
|
|