Public Member Functions | |
VisProfiler (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 |
methods and threads are visualised as interconnected balls.
Definition at line 29 of file VisProfiler.java.
org.hfbk.vis.visnode.VisProfiler.VisProfiler | ( | Node | dummy, | |
Vector3f | position | |||
) |
set up this profiler by starting the sampling thread
Definition at line 95 of file VisProfiler.java.
References org.hfbk.vis.visnode.VisProfiler.DELAY, and org.hfbk.vis.visnode.VisProfiler.profile().
Here is the call graph for this function:
override node factory for graphing, now only producing balls.
Reimplemented from org.hfbk.vis.visnode.VisSet.
Definition at line 90 of file VisProfiler.java.
References org.hfbk.vis.visnode.VisNode.node.
void org.hfbk.vis.visnode.VisProfiler.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 116 of file VisProfiler.java.
References org.hfbk.vis.visnode.VisProfiler.callCounter, org.hfbk.vis.visnode.VisProfiler.dirty, org.hfbk.vis.visnode.VisSet.nodes, and org.hfbk.vis.visnode.VisSet.tmp.
Referenced by org.hfbk.vis.visnode.VisProfiler.renderSelf(), and org.hfbk.vis.visnode.VisProfiler.VisProfiler().
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisProfiler.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 170 of file VisProfiler.java.
References org.hfbk.vis.visnode.VisProfiler.dirty, org.hfbk.vis.visnode.VisProfiler.profile(), and org.hfbk.vis.visnode.VisSet.update().
Here is the call graph for this function:
final int org.hfbk.vis.visnode.VisProfiler.DELAY = 1000 [package] |
milliseconds between thread samples
Definition at line 33 of file VisProfiler.java.
Referenced by org.hfbk.vis.visnode.VisProfiler.VisProfiler().
Graph org.hfbk.vis.visnode.VisProfiler.profile = new Graph() [package] |
the abstract profiled call graph
Definition at line 36 of file VisProfiler.java.
Counter<Integer> org.hfbk.vis.visnode.VisProfiler.callCounter = new Counter<Integer>() [package] |
counts running method samples
Definition at line 39 of file VisProfiler.java.
Referenced by org.hfbk.vis.visnode.VisProfiler.profile(), and org.hfbk.vis.visnode.VisProfiler.VisCallBall.renderSelf().
boolean org.hfbk.vis.visnode.VisProfiler.dirty = true [package] |
Definition at line 42 of file VisProfiler.java.
Referenced by org.hfbk.vis.visnode.VisProfiler.profile(), and org.hfbk.vis.visnode.VisProfiler.renderSelf().