org.hfbk.vis.visnode.VisPs Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisPs:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisPs:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisPs (Node dummy, Vector3f position)

Package Functions

VisNode create (Node node, Vector3f pos)
void profile ()
void renderSelf ()

Package Attributes

final int DELAY = 1000
Graph profile = new Graph()
Counter< Integer > callCounter = new Counter<Integer>()
boolean dirty = true

Classes

class  VisCallBall

Detailed Description

a profiler that samples currently active methods inside the running vis/client. thus vis/client is able to show something about it's inner state of mind :-)

methods and threads are visualised as interconnected balls.

Author:
paul

Definition at line 36 of file VisPs.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisPs.VisPs ( Node  dummy,
Vector3f  position 
)

set up this profiler by starting the sampling thread

Definition at line 104 of file VisPs.java.

References org.hfbk.vis.visnode.VisPs.DELAY, and org.hfbk.vis.visnode.VisPs.profile().

Here is the call graph for this function:


Member Function Documentation

VisNode org.hfbk.vis.visnode.VisPs.create ( Node  node,
Vector3f  pos 
) [package]

override node factory for graphing, now only producing balls.

Reimplemented from org.hfbk.vis.visnode.VisSet.

Definition at line 99 of file VisPs.java.

References org.hfbk.vis.visnode.VisNode.node.

void org.hfbk.vis.visnode.VisPs.profile (  )  [package]

called by profiler thread to do one thread sample. counts all currently invoked methods in all threads and adds samples to profile graph.

Definition at line 125 of file VisPs.java.

References org.hfbk.vis.visnode.VisPs.callCounter, and org.hfbk.vis.visnode.VisPs.dirty.

Referenced by org.hfbk.vis.visnode.VisPs.renderSelf(), and org.hfbk.vis.visnode.VisPs.VisPs().

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisPs.renderSelf (  )  [package, virtual]

do one layout step and draw edges. nodes are not drawn herein but as as usual child VisNodes.

Reimplemented from org.hfbk.vis.visnode.VisSet.

Definition at line 223 of file VisPs.java.

References org.hfbk.vis.visnode.VisPs.dirty, org.hfbk.vis.visnode.VisPs.profile(), and org.hfbk.vis.visnode.VisSet.update().

Here is the call graph for this function:


Member Data Documentation

final int org.hfbk.vis.visnode.VisPs.DELAY = 1000 [package]

milliseconds between thread samples

Definition at line 40 of file VisPs.java.

Referenced by org.hfbk.vis.visnode.VisPs.VisPs().

Graph org.hfbk.vis.visnode.VisPs.profile = new Graph() [package]

the abstract profiled call graph

Definition at line 43 of file VisPs.java.

Counter<Integer> org.hfbk.vis.visnode.VisPs.callCounter = new Counter<Integer>() [package]

counts running method samples

Definition at line 46 of file VisPs.java.

Referenced by org.hfbk.vis.visnode.VisPs.profile(), and org.hfbk.vis.visnode.VisPs.VisCallBall.renderSelf().

boolean org.hfbk.vis.visnode.VisPs.dirty = true [package]

Definition at line 49 of file VisPs.java.

Referenced by org.hfbk.vis.visnode.VisPs.profile(), and org.hfbk.vis.visnode.VisPs.renderSelf().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:59:46 2009 for visclient by  doxygen 1.5.1