@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
    public static long getLogTime() {
        if (Build.VERSION_CODES.JELLY_BEAN_MR1 <= Build.VERSION.SDK_INT) {
            return SystemClock.elapsedRealtimeNanos();
        } else {
            return System.currentTimeMillis();
        }
    }
Returns the current time in either millis or nanos depending on the api level to be used with
{@link #getElapsedMillis(long)}.
core/src/main/java/com/bumptech/glide/util/LogTime.java