pnode Class Reference

Inheritance diagram for pnode:

Inheritance graph
[legend]
Collaboration diagram for pnode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 pnode ()
 ~pnode ()
void set_next (pnode *n)
pnodenext ()
void update (TickPosition where)
int total_ticks ()
virtual bool is_interpreted () const
virtual bool is_compiled () const
virtual bool match (methodOop m, klassOop k)
virtual bool match (nmethod *nm)
virtual methodOop method ()=0
virtual klassOop receiver_klass ()=0
void print_receiver_klass_on (outputStream *st)
virtual void print_method_on (outputStream *st)
virtual void print (outputStream *st, int total_ticks)

Static Public Member Functions

static void print_title (outputStream *st)
static void print_total (outputStream *st, tick_counter *t, int total, char *msg)
static int compare (pnode **a, pnode **b)

Public Attributes

tick_counter ticks

Private Attributes

pnode_next

Detailed Description

Definition at line 99 of file fprofiler.cpp.


Constructor & Destructor Documentation

pnode::pnode (  )  [inline]

Definition at line 106 of file fprofiler.cpp.

References _next.

pnode::~pnode (  )  [inline]

Definition at line 110 of file fprofiler.cpp.

References _next.


Member Function Documentation

static int pnode::compare ( pnode **  a,
pnode **  b 
) [inline, static]

Definition at line 184 of file fprofiler.cpp.

Referenced by FlatProfiler::print().

virtual bool pnode::is_compiled (  )  const [inline, virtual]

Reimplemented in compiledNode.

Definition at line 122 of file fprofiler.cpp.

virtual bool pnode::is_interpreted (  )  const [inline, virtual]

Reimplemented in interpretedNode.

Definition at line 121 of file fprofiler.cpp.

virtual bool pnode::match ( nmethod *  nm  )  [inline, virtual]

Reimplemented in compiledNode.

Definition at line 125 of file fprofiler.cpp.

virtual bool pnode::match ( methodOop  m,
klassOop  k 
) [inline, virtual]

Reimplemented in interpretedNode.

Definition at line 124 of file fprofiler.cpp.

virtual methodOop pnode::method (  )  [pure virtual]

Implemented in interpretedNode, and compiledNode.

Referenced by print_method_on().

pnode* pnode::next (  )  [inline]

Definition at line 116 of file fprofiler.cpp.

References _next.

Referenced by FlatProfiler::compiled_update(), FlatProfiler::interpreted_update(), and FlatProfiler::print().

virtual void pnode::print ( outputStream st,
int  total_ticks 
) [inline, virtual]

Reimplemented in interpretedNode, and compiledNode.

Definition at line 170 of file fprofiler.cpp.

References col2, col3, col4, outputStream::cr(), outputStream::fill_to(), tick_counter::print_code(), print_method_on(), tick_counter::print_other(), print_receiver_klass_on(), and ticks.

Referenced by compiledNode::print(), and interpretedNode::print().

Here is the call graph for this function:

virtual void pnode::print_method_on ( outputStream st  )  [inline, virtual]

Reimplemented in compiledNode.

Definition at line 152 of file fprofiler.cpp.

References methodOopDesc::enclosing_method_selector(), methodOopDesc::is_blockMethod(), klassOopDesc::klass_part(), Klass::lookup_method_holder_for(), method(), outputStream::print(), Klass::print_name_on(), symbolOopDesc::print_symbol_on(), receiver_klass(), methodOopDesc::selector(), and std.

Referenced by print(), and compiledNode::print_method_on().

Here is the call graph for this function:

void pnode::print_receiver_klass_on ( outputStream st  )  [inline]

Definition at line 148 of file fprofiler.cpp.

References klassOopDesc::klass_part(), Klass::print_name_on(), and receiver_klass().

Referenced by print().

Here is the call graph for this function:

static void pnode::print_title ( outputStream st  )  [inline, static]

Reimplemented in interpretedNode, and compiledNode.

Definition at line 128 of file fprofiler.cpp.

References col2, col3, col4, outputStream::fill_to(), outputStream::print(), and outputStream::print_cr().

Referenced by compiledNode::print_title(), and interpretedNode::print_title().

Here is the call graph for this function:

static void pnode::print_total ( outputStream st,
tick_counter t,
int  total,
char *  msg 
) [inline, static]

Definition at line 137 of file fprofiler.cpp.

References col4, outputStream::cr(), outputStream::fill_to(), outputStream::print(), tick_counter::print_code(), and tick_counter::print_other().

Referenced by FlatProfiler::print().

Here is the call graph for this function:

virtual klassOop pnode::receiver_klass (  )  [pure virtual]

Implemented in interpretedNode, and compiledNode.

Referenced by print_method_on(), and print_receiver_klass_on().

void pnode::set_next ( pnode n  )  [inline]

Definition at line 115 of file fprofiler.cpp.

References _next.

int pnode::total_ticks (  )  [inline]

Definition at line 119 of file fprofiler.cpp.

References ticks, and tick_counter::total().

Here is the call graph for this function:

void pnode::update ( TickPosition  where  )  [inline]

Definition at line 118 of file fprofiler.cpp.

References ticks, and tick_counter::update().

Referenced by compiledNode::compiledNode(), and interpretedNode::interpretedNode().

Here is the call graph for this function:


Member Data Documentation

pnode* pnode::_next [private]

Definition at line 101 of file fprofiler.cpp.

Referenced by next(), pnode(), set_next(), and ~pnode().

tick_counter pnode::ticks

Definition at line 103 of file fprofiler.cpp.

Referenced by print(), total_ticks(), and update().


The documentation for this class was generated from the following file:
Generated on Mon Oct 9 14:12:45 2006 for Strongtalk VM by  doxygen 1.4.7