JNI調用C計算代碼執行時間(毫秒)

#include <stdio.h> #include <stdlib.h> #include <time.h> #include "caltime_Jni.h" JNIEXPORT jlong JNICALL Java_caltime_Jni_calculateTime (JNIEnv *e, jobject jo){ long start, end; int i,j,k; long a; /
相關文章
相關標籤/搜索