Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::results::cpu::PrestimeCPUCCTNode Class Reference

Inheritance diagram for org::netbeans::lib::profiler::results::cpu::PrestimeCPUCCTNode:

org::netbeans::lib::profiler::results::CCTNode org::netbeans::lib::profiler::results::cpu::PrestimeCPUCCTNodeBacked org::netbeans::lib::profiler::results::cpu::PrestimeCPUCCTNodeFree

List of all members.


Detailed Description

Base Presentation-Time CPU Profiling Calling Context Tree (CCT) Node class. Subclasses provide an implementation that is backed by the flattened tree data array in CPUCCTContainer (PrestimeCPUCCTNodeBacked) and the one that contains all the data in the node itself (PrestimeCPUCCTNodeFree).

Author:
Misha Dmitriev

Definition at line 56 of file PrestimeCPUCCTNode.java.


Public Member Functions

abstract CCTNode getChild (int index)
abstract CCTNode[] getChildren ()
CPUCCTContainer getContainer ()
int getIndexOfChild (Object child)
String[] getMethodClassNameAndSig ()
abstract int getMethodId ()
abstract int getNCalls ()
abstract int getNChildren ()
String getNodeName ()
CCTNode getParent ()
abstract long getSleepTime0 ()
abstract int getThreadId ()
abstract long getTotalTime0 ()
abstract float getTotalTime0InPerCent ()
abstract long getTotalTime1 ()
abstract float getTotalTime1InPerCent ()
abstract long getWaitTime0 ()
boolean isContextCallsNode ()
boolean isSelfTimeNode ()
boolean isThreadNode ()
void setContextCallsNode ()
void setSelfTimeNode ()
void setThreadNode ()
abstract void sortChildren (int sortBy, boolean sortOrder)
String toString ()

Static Public Attributes

static final int SORT_BY_INVOCATIONS = 4
static final int SORT_BY_NAME = 1
static final int SORT_BY_TIME_0 = 2
static final int SORT_BY_TIME_1 = 3

Protected Member Functions

void doSortChildren (int sortBy, boolean sortOrder)
 PrestimeCPUCCTNode (CPUCCTContainer container, PrestimeCPUCCTNode parent)
void sortChildrenByInvocations (boolean sortOrder)
void sortChildrenByName (boolean sortOrder)
void sortChildrenByTime0 (boolean sortOrder)
void sortChildrenByTime1 (boolean sortOrder)
void sortInts (int[] values, boolean sortOrder)
void sortLongs (long[] values, boolean sortOrder)
void sortStrings (String[] values, boolean sortOrder)

Protected Attributes

PrestimeCPUCCTNode[] children
CPUCCTContainer container
char flags
PrestimeCPUCCTNode parent

Static Protected Attributes

static final char MASK_CONTEXT_CALLS_NODE = 0x2
static final char MASK_SELF_TIME_NODE = 0x1
static final char MASK_THREAD_NODE = 0x4

Static Private Attributes

static final String FROM_MSG = messages.getString("PrestimeCPUCCTNode_FromMsg")
static final ResourceBundle messages = ResourceBundle.getBundle("org.netbeans.lib.profiler.results.cpu.Bundle")
static final String SELF_TIME_STRING = messages.getString("PrestimeCPUCCTNode_SelfTimeString")

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index