Calculate CPUtime of a Java function
janfrode/java-cputime
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Compile the java coden: javac CPUtest.java Generate the JNI headerfile: javah -jni CPUtest Compiler the library (Have no idea how this should be done on non-unix systems): cc -o libjnicputime.so -O -shared cputime.c Set the library search path to include where libjnicputime.so is located: setenv LD_LIBRARY_PATH . Run the program: java CPUtest Or simply run "make" to build, and "make test" to run the code.
About
Calculate CPUtime of a Java function
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published