Java Native Interface (JNI) - Can i get the CPU time of the main method
i calling main method using jni as follow (*env)->CallStaticVoidMethod(classsName, methodId, args);and it is work well can i get the CPU time of the main method
[192 byte] By [
eldessokya] at [2007-11-26 23:31:20]

# 1
C/C++ method calls can be timed.
(*env)->CallStaticVoidMethod(classsName, methodId, args);
This is a C method call.
How you time that is based on the OS and System APIs which are available via the C library.
None of that has anything to do with java nor with JNI.