package org.globsframework.utils;

public class NanoChrono {
    private long start;

    public NanoChrono() {
        start = System.nanoTime();
    }

    public static NanoChrono start() {
        return new NanoChrono();
    }

    public void reset() {
        start = System.nanoTime();
    }

    public double getElapsedTimeInMS() {
        return ((int) ((System.nanoTime() - start) / 1000.)) / 1000.;
    }
}

@@ -286,32 +286,237 @@
 oTime();%0A    %7D%0A%0A
+    public double getAndResetElapsedTimeInMS() %7B%0A        long tmp = System.nanoTime();%0A        double current = ((int) ((tmp - start) / 1000.)) / 1000.;%0A        start = tmp;%0A        return current;%0A    %7D%0A%0A
     public doubl

Add NanoChrono.getAndResetElapsedTimeInMS.