Java Doc for CPUCCTContainer.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

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


Field Summary
final protected static  intCHILD_OFS_SIZE_3
    
final protected static  intCHILD_OFS_SIZE_4
    
final protected static  intOFS_METHODID
    
final protected static  intOFS_NCALLS
    
final protected static  intOFS_NSUBNODES1
    
final protected static  intOFS_NSUBNODES2
    
final protected static  intOFS_SELFTIME0
    
final protected static  intOFS_SELFTIME1
    
final protected static  intOFS_SUBNODE01
    
final protected static  intOFS_SUBNODE02
    
final protected static  intOFS_TIME0
    
final protected static  intOFS_TIME1
    
protected  FlatProfileContainercachedFlatProfile
    
protected  intchildOfsSize
    
protected  booleancollectingTwoTimeStamps
    
protected  byte[]compactData
    
protected  CPUResultsSnapshotcpuResSnapshot
    
protected  booleandisplayWholeThreadCPUTime
    
protected  int[]invPerMethodId
    
protected  intnodeSize
    
protected  PrestimeCPUCCTNoderootNode
    
protected  intthreadId
    
protected  StringthreadName
    
protected  doubletimeInInjectedCodeInAbsCounts
    
protected  doubletimeInInjectedCodeInThreadCPUCounts
    
protected  long[]timePerMethodId0
    
protected  long[]timePerMethodId1
    
protected  longwholeGraphGrossTimeAbs
    
protected  longwholeGraphGrossTimeThreadCPU
    
protected  longwholeGraphNetTime0
    
protected  longwholeGraphNetTime1
    
protected  longwholeGraphPureTimeAbs
    
protected  longwholeGraphPureTimeThreadCPU
    

Constructor Summary
public  CPUCCTContainer(TimedCPUCCTNode rtRootNode, CPUResultsSnapshot cpuResSnapshot, ProfilingSessionStatus status, InstrumentationFilter usedFilter, int nNodes, double[] threadActiveTimesInCounts, int threadId, String threadName)
    
protected  CPUCCTContainer(CPUResultsSnapshot cpuResSnapshot)
    

Method Summary
protected  voidaddFlatProfTimeForNode(int dataOfs)
    
protected  voidaddToReverseCCT(PrestimeCPUCCTNodeFree reverseNode, int methodId)
    
public  booleancanDisplayWholeGraphCPUTime()
    
protected  voidcheckStraightGraphNode(int dataOfs)
     Walk all the elements of the main graph, looking for nodes with selectedMethodId signature.
protected  FlatProfileContainergenerateFlatProfile()
    
protected  PrestimeCPUCCTNodeFreegenerateReverseCCT(int methodId)
    
protected  intget2Bytes(int ofs)
    
protected  intget3Bytes(int ofs)
    
protected  intget4Bytes(int ofs)
    
protected  longget5Bytes(int ofs)
    
public  CPUResultsSnapshotgetCPUResSnapshot()
    
public  intgetChildOfsForNodeOfs(int nodeOfs, int childIdx)
    
public  FlatProfileContainergetFlatProfile()
    
public  String[]getMethodClassNameAndSig(int methodId)
    
public  intgetMethodIdForNodeOfs(int nodeOfs)
    
public  intgetNCallsForNodeOfs(int nodeOfs)
    
public  intgetNChildrenForNodeOfs(int nodeOfs)
    
public  PrestimeCPUCCTNodegetReverseCCT(int methodId)
    
public  PrestimeCPUCCTNodegetRootNode()
    
public  longgetSelfTime0ForNodeOfs(int nodeOfs)
    
public  longgetSelfTime1ForNodeOfs(int nodeOfs)
    
public  longgetSleepTime0ForNodeOfs(int nodeOfs)
    
public  intgetThreadId()
    
public  StringgetThreadName()
    
public static  doublegetTimeInInjectedCodeForDisplayedThread()
    
public  longgetTotalTime0ForNodeOfs(int nodeOfs)
    
public  longgetTotalTime1ForNodeOfs(int nodeOfs)
    
public  longgetWaitTime0ForNodeOfs(int nodeOfs)
    
public static  doublegetWholeGraphGrossTimeAbsForDisplayedThread()
    
public  longgetWholeGraphNetTime0()
    
public  longgetWholeGraphNetTime1()
    
public  longgetWholeGraphPureTimeAbs()
    
public  longgetWholeGraphPureTimeThreadCPU()
    
public  booleanisCollectingTwoTimeStamps()
    
protected  FlatProfileContainerpostGenerateFlatProfile()
    
protected  voidpreGenerateFlatProfile()
    
public  voidreadFromStream(DataInputStream in)
    
protected  voidsetChildOfsForNodeOfs(int nodeOfs, int childIdx, int val)
    
protected  voidsetMethodIdForNodeOfs(int nodeOfs, int val)
    
protected  voidsetNCallsForNodeOfs(int nodeOfs, int val)
    
protected  voidsetNChildrenForNodeOfs(int nodeOfs, int val)
    
protected  voidsetSelfTime0ForNodeOfs(int nodeOfs, long val)
    
protected  voidsetSelfTime1ForNodeOfs(int nodeOfs, long val)
    
protected  voidsetSleepTime0ForNodeOfs(int dataOfs, long waitTime0)
    
protected  voidsetTotalTime0ForNodeOfs(int nodeOfs, long val)
    
protected  voidsetTotalTime1ForNodeOfs(int nodeOfs, long val)
    
protected  voidsetWaitTime0ForNodeOfs(int dataOfs, long waitTime0)
    
protected  voidstore2Bytes(int ofs, int data)
    
protected  voidstore3Bytes(int ofs, int data)
    
protected  voidstore4Bytes(int ofs, int data)
    
protected  voidstore5Bytes(int ofs, long data)
    
public  voidwriteToStream(DataOutputStream out)
    

Field Detail
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)



cachedFlatProfile
protected FlatProfileContainer cachedFlatProfile(Code)



childOfsSize
protected int childOfsSize(Code)



collectingTwoTimeStamps
protected boolean collectingTwoTimeStamps(Code)



compactData
protected byte[] compactData(Code)



cpuResSnapshot
protected CPUResultsSnapshot cpuResSnapshot(Code)



displayWholeThreadCPUTime
protected boolean displayWholeThreadCPUTime(Code)



invPerMethodId
protected int[] invPerMethodId(Code)



nodeSize
protected int nodeSize(Code)



rootNode
protected PrestimeCPUCCTNode rootNode(Code)



threadId
protected int threadId(Code)



threadName
protected String threadName(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)




Constructor Detail
CPUCCTContainer
public CPUCCTContainer(TimedCPUCCTNode rtRootNode, CPUResultsSnapshot cpuResSnapshot, ProfilingSessionStatus status, InstrumentationFilter usedFilter, int nNodes, double[] threadActiveTimesInCounts, int threadId, String threadName)(Code)



CPUCCTContainer
protected CPUCCTContainer(CPUResultsSnapshot cpuResSnapshot)(Code)




Method Detail
addFlatProfTimeForNode
protected void addFlatProfTimeForNode(int dataOfs)(Code)



addToReverseCCT
protected void addToReverseCCT(PrestimeCPUCCTNodeFree reverseNode, int methodId)(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.



generateFlatProfile
protected FlatProfileContainer generateFlatProfile()(Code)



generateReverseCCT
protected PrestimeCPUCCTNodeFree generateReverseCCT(int methodId)(Code)



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)



getCPUResSnapshot
public CPUResultsSnapshot getCPUResSnapshot()(Code)



getChildOfsForNodeOfs
public int getChildOfsForNodeOfs(int nodeOfs, int childIdx)(Code)



getFlatProfile
public FlatProfileContainer getFlatProfile()(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)



getReverseCCT
public PrestimeCPUCCTNode getReverseCCT(int methodId)(Code)



getRootNode
public PrestimeCPUCCTNode getRootNode()(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)



getThreadName
public String getThreadName()(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)



postGenerateFlatProfile
protected FlatProfileContainer postGenerateFlatProfile()(Code)



preGenerateFlatProfile
protected void preGenerateFlatProfile()(Code)



readFromStream
public void readFromStream(DataInputStream in) throws IOException(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)



writeToStream
public void writeToStream(DataOutputStream out) throws IOException(Code)



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.