|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.common.test.TestJavaCFunction
public class TestJavaCFunction
This class is only intend to test the performance of C and relative Java functions to determine on each system which one are better.
Constructor Summary | |
---|---|
TestJavaCFunction()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Takes only a path as argument |
static void |
runC(java.io.File dirsource,
java.lang.String outpath)
run getLSDFiles in subdirectories in C |
static void |
runJava(java.io.File dirsource,
java.lang.String outpath)
run getLSDFiles in subdirectories in Java |
static void |
runJava2(java.io.File dirsource,
java.lang.String outpath)
run getLSDFiles in subdirectories in Java |
static long |
runJavaRecur(java.io.File dirsource,
java.lang.String outpath,
java.nio.ByteBuffer niobb,
long nbfile,
byte[] blid,
java.nio.channels.FileChannel filechannelout,
int newlimit0)
run getLSDFiles in subdirectories in Java |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestJavaCFunction()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- public static void runC(java.io.File dirsource, java.lang.String outpath)
dirsource
- The Path to checkoutpath
- the path where to create temp filepublic static void runJava(java.io.File dirsource, java.lang.String outpath)
dirsource
- The Path to checkoutpath
- the path where to create temp filepublic static void runJava2(java.io.File dirsource, java.lang.String outpath)
dirsource
- The Path to checkoutpath
- the path where to create temp filepublic static long runJavaRecur(java.io.File dirsource, java.lang.String outpath, java.nio.ByteBuffer niobb, long nbfile, byte[] blid, java.nio.channels.FileChannel filechannelout, int newlimit0)
dirsource
- The Path to checkoutpath
- the path where to create temp fileniobb
- nbfile
- blid
- filechannelout
- newlimit0
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |