jApp
Class Profiler

java.lang.Object
  extended by jApp.Profiler

public class Profiler
extends java.lang.Object


Nested Class Summary
static interface Profiler.ProfilerHook
           
 
Constructor Summary
Profiler()
           
 
Method Summary
static long getAverage(PerformanceKey x)
           
static int[] getBins(PerformanceKey x)
           
static long getMaximum(PerformanceKey x)
           
static long getMinimum(PerformanceKey x)
           
static void printStats()
           
static void repaintCompleted()
           
static void resetStats(int binSize, int numBins)
           
static void setRepaintHook(Profiler.ProfilerHook hook)
           
static void start(PerformanceKey x)
           
static void stop(PerformanceKey x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profiler

public Profiler()
Method Detail

getMinimum

public static long getMinimum(PerformanceKey x)

getMaximum

public static long getMaximum(PerformanceKey x)

getAverage

public static long getAverage(PerformanceKey x)

getBins

public static int[] getBins(PerformanceKey x)

start

public static void start(PerformanceKey x)

stop

public static void stop(PerformanceKey x)

resetStats

public static void resetStats(int binSize,
                              int numBins)

printStats

public static void printStats()

setRepaintHook

public static void setRepaintHook(Profiler.ProfilerHook hook)

repaintCompleted

public static void repaintCompleted()