|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aicas.jamaica.lang.Profile
public class Profile
Profile provides control over the profiling of the JamaicaVM. The profiling is available only when using the profiling variant of the virtual machien (jamaicavmp) or when option "-profile" is set when an application is created by the builder.
| Constructor Summary | |
|---|---|
Profile()
|
|
| Method Summary | |
|---|---|
static void |
dumpProfileData()
Dumps the collected profile data into the profile file. |
static void |
dumpProfileData(String filename)
Dumps the collected profile data into the given profile file. |
static void |
dumpProfileDataViaNet(int port)
Dumps the collected profile data into the profile file. |
static void |
main(String[] args)
Main routine. |
static void |
waitOnSocket(int port)
Start a profiling thread that waits for requests to dump profiling datat on the given port number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Profile()
| Method Detail |
|---|
public static void dumpProfileData()
public static void dumpProfileData(String filename)
filename - Local file name for the profile. If it is null,
the default file name of the application is used.public static void dumpProfileDataViaNet(int port)
public static void waitOnSocket(int port)
port - the port number
IllegalStateException - if the profiling thread is already
running.public static void main(String[] args)
args - the command line arguments, args[0] must give the IP
address, args[1] must give the port number. Option(s) may be specified.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||