private static long getTime() {
        long time= System.currentTimeMillis()& 0x7FFFFFFFFFFFFFFFL;
        long res= 1000;
        return (time * NANOS_IN_SECOND) / res;
    }
Gets the system time in nanoseconds.

@return will return the current time in nano's
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/Sync.java