20 #include "utils_HrtStopwatch.h"
21 #include "hrt_gstopwatch.h"
23 JNIEXPORT
void JNICALL
24 Java_utils_HrtStopwatch_init(JNIEnv *env, jclass cls,
30 JNIEXPORT
void JNICALL
31 Java_utils_HrtStopwatch_close(JNIEnv *env, jclass cls)
36 JNIEXPORT jint JNICALL
37 Java_utils_HrtStopwatch_top(JNIEnv *env, jclass cls)
42 JNIEXPORT jint JNICALL
43 Java_utils_HrtStopwatch_capacity(JNIEnv *env, jclass cls)
45 return hrt_gsw_capacity();
48 JNIEXPORT jint JNICALL
49 Java_utils_HrtStopwatch_pushmark(JNIEnv *env, jclass cls)
51 return hrt_gsw_pushmark();
54 JNIEXPORT
void JNICALL
55 Java_utils_HrtStopwatch_popmark(JNIEnv * env, jclass cls)
60 JNIEXPORT jdouble JNICALL
61 Java_utils_HrtStopwatch_rtmicros(JNIEnv *env, jclass cls,
64 return hrt_gsw_rtmicros(y, x);
67 JNIEXPORT jdouble JNICALL
68 Java_utils_HrtStopwatch_ctmicros(JNIEnv *env, jclass cls,
71 return hrt_gsw_ctmicros(y, x);
74 JNIEXPORT
void JNICALL
75 Java_utils_HrtStopwatch_clear(JNIEnv *env, jclass cls)