org.databene.profile
Class Profiler

java.lang.Object
  extended by org.databene.profile.Profiler

public class Profiler
extends Object

Organizes Profiles in a tree structure.

Created: 19.05.2011 09:01:32

Since:
2.0.0
Author:
Volker Bergmann

Constructor Summary
Profiler(String name, long granularity, String unit)
           
 
Method Summary
 void addSample(List<String> path, long duration)
           
static Profiler defaultInstance()
           
 Profile getRootProfile()
           
 void printSummary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profiler

public Profiler(String name,
                long granularity,
                String unit)
Method Detail

defaultInstance

public static Profiler defaultInstance()

getRootProfile

public Profile getRootProfile()

addSample

public void addSample(List<String> path,
                      long duration)

printSummary

public void printSummary()


Copyright © 2013. All Rights Reserved.