aicas logoJamaica 3.2 release 62

com.aicas.jamaica.lang
Class XProfile

java.lang.Object
  extended by com.aicas.jamaica.lang.XProfile

public class XProfile
extends Object

XProfile is a tool that provides runtime sampling similar to JDK 1.5's "java -Xprof". Usage: jamaicavm com.aicas.jamica.lang.XProfile The output give the frequence how often execution within a certain method was monitored. Threads that are running or blocked are not distinguished, i.e., a thread that is blocked a long time in wait() or yield() will cause the count for this method to be high.


Constructor Summary
XProfile()
           
 
Method Summary
static void main(String[] args)
          main the main routine.
static void start(int samplesPerSecond)
          Activate profiling by adding a shutdown hook to print results and start sampling thread to collect information.
static void startSamplingThread()
          startSamplingThread starts a new thread for sampling.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XProfile

public XProfile()
Method Detail

startSamplingThread

public static void startSamplingThread()
startSamplingThread starts a new thread for sampling.


start

public static void start(int samplesPerSecond)
Activate profiling by adding a shutdown hook to print results and start sampling thread to collect information.


main

public static void main(String[] args)
main the main routine.

Parameters:
args - the arguments array, must be at least of length 1. args[0] is the main class name, args[1..args.length-1] are the arguments to the main class' main() routine.

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.