From b773048aee7ebfb00b7ae7b45ef9f49e88ebc5a4 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 6 Mar 2023 22:28:47 +0100 Subject: Clock: Rename currentTimeNanos() -> currentNanos() as it represents the duration since module startup and not time. --- src/java/com/jogamp/common/util/PerfCounterCtrl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java/com/jogamp/common/util/PerfCounterCtrl.java') diff --git a/src/java/com/jogamp/common/util/PerfCounterCtrl.java b/src/java/com/jogamp/common/util/PerfCounterCtrl.java index 30290f8..2c79a2d 100644 --- a/src/java/com/jogamp/common/util/PerfCounterCtrl.java +++ b/src/java/com/jogamp/common/util/PerfCounterCtrl.java @@ -32,7 +32,7 @@ import com.jogamp.common.os.Clock; * Simple performance counter controller. *

* Implementation is expected to utilize nanosecond counter since module start, - * e.g. {@link Clock#currentTimeNanos()}. + * e.g. {@link Clock#currentNanos()}. *

*/ public interface PerfCounterCtrl { -- cgit v1.2.3