Java Doc for CPUCCTClassContainer.java in  » IDE-Netbeans » cvsclient » org » netbeans » lib » profiler » results » cpu » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » cvsclient » org.netbeans.lib.profiler.results.cpu 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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  intview
    

Constructor Summary
public  CPUCCTClassContainer(CPUCCTContainer sourceContainer, MethodIdMap methodIdMap, int view)
    

Method Summary
protected  intgenerateClassNodeFromMethodNodes(IntVector methodNodes, int dataOfs)
     For a given vector of source (method-level) nodes, where all nodes have the same class, generate a single class-level node.
public  String[]getMethodClassNameAndSig(int methodId)
    
protected  voidprocessChildren(int dataOfs, int methodNodeOfs, int nChildren, IntVector allSourceChildren, Hashtable uniqChildCache)
     Given this target node, and the array of its source-level children, treat them as follows: 1.

Field Detail
view
protected int view(Code)




Constructor Detail
CPUCCTClassContainer
public CPUCCTClassContainer(CPUCCTContainer sourceContainer, MethodIdMap methodIdMap, int view)(Code)




Method Detail
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.



Fields inherited from org.netbeans.lib.profiler.results.cpu.CPUCCTContainer
final protected static int CHILD_OFS_SIZE_3(Code)(Java Doc)
final protected static int CHILD_OFS_SIZE_4(Code)(Java Doc)
final protected static int OFS_METHODID(Code)(Java Doc)
final protected static int OFS_NCALLS(Code)(Java Doc)
final protected static int OFS_NSUBNODES1(Code)(Java Doc)
final protected static int OFS_NSUBNODES2(Code)(Java Doc)
final protected static int OFS_SELFTIME0(Code)(Java Doc)
final protected static int OFS_SELFTIME1(Code)(Java Doc)
final protected static int OFS_SUBNODE01(Code)(Java Doc)
final protected static int OFS_SUBNODE02(Code)(Java Doc)
final protected static int OFS_TIME0(Code)(Java Doc)
final protected static int OFS_TIME1(Code)(Java Doc)
protected FlatProfileContainer cachedFlatProfile(Code)(Java Doc)
protected int childOfsSize(Code)(Java Doc)
protected boolean collectingTwoTimeStamps(Code)(Java Doc)
protected byte[] compactData(Code)(Java Doc)
protected CPUResultsSnapshot cpuResSnapshot(Code)(Java Doc)
protected boolean displayWholeThreadCPUTime(Code)(Java Doc)
protected int[] invPerMethodId(Code)(Java Doc)
protected int nodeSize(Code)(Java Doc)
protected PrestimeCPUCCTNode rootNode(Code)(Java Doc)
protected int threadId(Code)(Java Doc)
protected String threadName(Code)(Java Doc)
protected double timeInInjectedCodeInAbsCounts(Code)(Java Doc)
protected double timeInInjectedCodeInThreadCPUCounts(Code)(Java Doc)
protected long[] timePerMethodId0(Code)(Java Doc)
protected long[] timePerMethodId1(Code)(Java Doc)
protected long wholeGraphGrossTimeAbs(Code)(Java Doc)
protected long wholeGraphGrossTimeThreadCPU(Code)(Java Doc)
protected long wholeGraphNetTime0(Code)(Java Doc)
protected long wholeGraphNetTime1(Code)(Java Doc)
protected long wholeGraphPureTimeAbs(Code)(Java Doc)
protected long wholeGraphPureTimeThreadCPU(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.