AndroidAPS/app/src/main/java/info/nightscout/androidaps/utils/Profiler.java
2019-02-26 20:38:27 +01:00

17 lines
379 B
Java

package info.nightscout.androidaps.utils;
import org.slf4j.Logger;
/**
* Created by mike on 29.01.2017.
*/
public class Profiler {
public Profiler(){}
static public void log(Logger log, String function, long start) {
long msec = System.currentTimeMillis() - start;
log.debug(">>> " + function + " <<< executed in " + msec + " miliseconds");
}
}