summaryrefslogtreecommitdiffstats
path: root/src/native/common
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-06 22:28:47 +0100
committerSven Gothel <[email protected]>2023-03-06 22:28:47 +0100
commitb773048aee7ebfb00b7ae7b45ef9f49e88ebc5a4 (patch)
treef0fd56e5e40a97a0bd49d241d58f6445b0dc0fe6 /src/native/common
parent0836295b52aaad1dce10a31a13cb544802d7de03 (diff)
Clock: Rename currentTimeNanos() -> currentNanos() as it represents the duration since module startup and not time.
Diffstat (limited to 'src/native/common')
-rw-r--r--src/native/common/jau_sys_Clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/common/jau_sys_Clock.c b/src/native/common/jau_sys_Clock.c
index b2d93eb..4af3b85 100644
--- a/src/native/common/jau_sys_Clock.c
+++ b/src/native/common/jau_sys_Clock.c
@@ -113,7 +113,7 @@ Java_com_jogamp_common_os_Clock_getMonotonicStartupTimeImpl(JNIEnv *env, jclass
* Only bfin and sh are missing, while ia64 seems to be complicated.
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_common_os_Clock_currentTimeNanos(JNIEnv *env, jclass clazz) {
+Java_com_jogamp_common_os_Clock_currentNanos(JNIEnv *env, jclass clazz) {
(void)env;
(void)clazz;