org.jgroups.debug

Class Profiler


public class Profiler
extends java.lang.Object

Allows to time execution of 'named' statements, counts number of times called and total execution time.

Author:
Bela Ban

Nested Class Summary

static class
Profiler.Entry

Constructor Summary

Profiler()

Method Summary

static void
dump()
static void
main(String[] args)
static void
setFilename(String filename)
static void
start(String call_name)
static void
stop(String call_name)
static double
trim(double inp)

Constructor Details

Profiler

public Profiler()

Method Details

dump

public static void dump()


main

public static void main(String[] args)


setFilename

public static void setFilename(String filename)


start

public static void start(String call_name)


stop

public static void stop(String call_name)


trim

public static double trim(double inp)


Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.