The PerfUtil Java API provides a rich set of functionality, all available to Java applications.
The API is provided in named package jperf. The jperf package is distributed as JPerf.jar
in the tools' bin directory.
In order to (re)compile/run your application you must do the following:
Import either the entire package or the required classes:
Add the jperf package jar filename to the CLASSPATH, for example:
All "constants" (i.e., static data members) are part of the JPerf class.
Take a look at JPerfBase.java in the tools' src directory.
(Re)compile the application.
Run the application. Just remember that JPerf.jar must be included in the CLASSPATH.