PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1.3.35/Examples/test-suite/java/profiletest_runme.java

#
Java | 15 lines | 11 code | 4 blank | 0 comment | 1 complexity | fb979f377980877ecceab1a4d7300381 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. import profiletest.*;
  2. public class profiletest_runme {
  3. System.loadLibrary("profiletest");
  4. public static void main(String argv[]) {
  5. long a = profiletest.new_A();
  6. long b = profiletest.new_B();
  7. for (int i=0; i<1000000; i++) {
  8. a = profiletest.B_fn(b, a);
  9. }
  10. }
  11. }