org.openjdk.jmh.profile
Class StackProfiler

java.lang.Object
  extended by org.openjdk.jmh.profile.StackProfiler
All Implemented Interfaces:
Profiler

public class StackProfiler
extends Object
implements Profiler

Very basic and naive stack profiler.

Author:
Aleksey Shipilev

Nested Class Summary
static class StackProfiler.SamplingTask
           
 
Constructor Summary
StackProfiler(String name)
           
 
Method Summary
 ProfilerResult endProfile()
          Stop the profile.
 void startProfile()
          Start the profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackProfiler

public StackProfiler(String name)
Method Detail

startProfile

public void startProfile()
Description copied from interface: Profiler
Start the profile.

Specified by:
startProfile in interface Profiler

endProfile

public ProfilerResult endProfile()
Description copied from interface: Profiler
Stop the profile.

Specified by:
endProfile in interface Profiler
Returns:
profiling result.


Copyright © 2012-2014 Oracle. All Rights Reserved.