| java.lang.Object org.netbeans.lib.profiler.results.cpu.CPUCCTContainer org.netbeans.lib.profiler.results.cpu.CPUCCTClassContainer
CPUCCTClassContainer | public class CPUCCTClassContainer extends CPUCCTContainer (Code) | | An extension of CPUCCTContainer that has functionality to build a class- or package-level CCT out of the method-level CCT.
author: Misha Dmitriev |
Field Summary | |
protected int | view |
generateClassNodeFromMethodNodes | protected int generateClassNodeFromMethodNodes(IntVector methodNodes, int dataOfs)(Code) | | For a given vector of source (method-level) nodes, where all nodes have the same class, generate
a single class-level node. Do the same with all the source node's children.
Returns the offset right after the last generated node, which is this node if it has no children,
or the last recursive child of this node.
|
getMethodClassNameAndSig | public String[] getMethodClassNameAndSig(int methodId)(Code) | | |
processChildren | protected void processChildren(int dataOfs, int methodNodeOfs, int nChildren, IntVector allSourceChildren, Hashtable uniqChildCache)(Code) | | Given this target node, and the array of its source-level children, treat them as follows:
1. The info for a source child who has the same class as this node, is added to this node.
Its own children are processed recursively by calling this same method.
2. The first source child whose class is different and was not observed before (not contained
in uniqChildCache) is added to uniqChildCache, and to allSourceChildren.
3. All other source children are added to allSourceChildren, but not to uniqChildCache.
|
Methods inherited from org.netbeans.lib.profiler.results.cpu.CPUCCTContainer | protected void addFlatProfTimeForNode(int dataOfs)(Code)(Java Doc) protected void addToReverseCCT(PrestimeCPUCCTNodeFree reverseNode, int methodId)(Code)(Java Doc) public boolean canDisplayWholeGraphCPUTime()(Code)(Java Doc) protected void checkStraightGraphNode(int dataOfs)(Code)(Java Doc) protected FlatProfileContainer generateFlatProfile()(Code)(Java Doc) protected PrestimeCPUCCTNodeFree generateReverseCCT(int methodId)(Code)(Java Doc) protected int get2Bytes(int ofs)(Code)(Java Doc) protected int get3Bytes(int ofs)(Code)(Java Doc) protected int get4Bytes(int ofs)(Code)(Java Doc) protected long get5Bytes(int ofs)(Code)(Java Doc) public CPUResultsSnapshot getCPUResSnapshot()(Code)(Java Doc) public int getChildOfsForNodeOfs(int nodeOfs, int childIdx)(Code)(Java Doc) public FlatProfileContainer getFlatProfile()(Code)(Java Doc) public String[] getMethodClassNameAndSig(int methodId)(Code)(Java Doc) public int getMethodIdForNodeOfs(int nodeOfs)(Code)(Java Doc) public int getNCallsForNodeOfs(int nodeOfs)(Code)(Java Doc) public int getNChildrenForNodeOfs(int nodeOfs)(Code)(Java Doc) public PrestimeCPUCCTNode getReverseCCT(int methodId)(Code)(Java Doc) public PrestimeCPUCCTNode getRootNode()(Code)(Java Doc) public long getSelfTime0ForNodeOfs(int nodeOfs)(Code)(Java Doc) public long getSelfTime1ForNodeOfs(int nodeOfs)(Code)(Java Doc) public long getSleepTime0ForNodeOfs(int nodeOfs)(Code)(Java Doc) public int getThreadId()(Code)(Java Doc) public String getThreadName()(Code)(Java Doc) public static double getTimeInInjectedCodeForDisplayedThread()(Code)(Java Doc) public long getTotalTime0ForNodeOfs(int nodeOfs)(Code)(Java Doc) public long getTotalTime1ForNodeOfs(int nodeOfs)(Code)(Java Doc) public long getWaitTime0ForNodeOfs(int nodeOfs)(Code)(Java Doc) public static double getWholeGraphGrossTimeAbsForDisplayedThread()(Code)(Java Doc) public long getWholeGraphNetTime0()(Code)(Java Doc) public long getWholeGraphNetTime1()(Code)(Java Doc) public long getWholeGraphPureTimeAbs()(Code)(Java Doc) public long getWholeGraphPureTimeThreadCPU()(Code)(Java Doc) public boolean isCollectingTwoTimeStamps()(Code)(Java Doc) protected FlatProfileContainer postGenerateFlatProfile()(Code)(Java Doc) protected void preGenerateFlatProfile()(Code)(Java Doc) public void readFromStream(DataInputStream in) throws IOException(Code)(Java Doc) protected void setChildOfsForNodeOfs(int nodeOfs, int childIdx, int val)(Code)(Java Doc) protected void setMethodIdForNodeOfs(int nodeOfs, int val)(Code)(Java Doc) protected void setNCallsForNodeOfs(int nodeOfs, int val)(Code)(Java Doc) protected void setNChildrenForNodeOfs(int nodeOfs, int val)(Code)(Java Doc) protected void setSelfTime0ForNodeOfs(int nodeOfs, long val)(Code)(Java Doc) protected void setSelfTime1ForNodeOfs(int nodeOfs, long val)(Code)(Java Doc) protected void setSleepTime0ForNodeOfs(int dataOfs, long waitTime0)(Code)(Java Doc) protected void setTotalTime0ForNodeOfs(int nodeOfs, long val)(Code)(Java Doc) protected void setTotalTime1ForNodeOfs(int nodeOfs, long val)(Code)(Java Doc) protected void setWaitTime0ForNodeOfs(int dataOfs, long waitTime0)(Code)(Java Doc) protected void store2Bytes(int ofs, int data)(Code)(Java Doc) protected void store3Bytes(int ofs, int data)(Code)(Java Doc) protected void store4Bytes(int ofs, int data)(Code)(Java Doc) protected void store5Bytes(int ofs, long data)(Code)(Java Doc) public void writeToStream(DataOutputStream out) throws IOException(Code)(Java Doc)
|
|
|