@Override
        public long getNextFrame(boolean isCyclic) {
          return TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) - startTime;
        }
@Override
        public long getNextFrame(boolean isCyclic)