/** * Captures the given wall clock time and start time in nanosecond * * @param startTimeMillis start time since epoch in millisecond * @param startTimeNano start time in nanosecond */ public static TimingInfo startTimingFullSupport(long startTimeMillis, long startTimeNano) { return new TimingInfoFullSupport(startTimeMillis, startTimeNano, null); }
/** * Captures the given start time in nanosecond, ignoring the wall clock time. * * @param startTimeNano start time in nanosecond */ public static TimingInfo startTimingFullSupport(long startTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, null); }
/** * Returns a {@link TimingInfoFullSupport} based on the given * start and end time in nanosecond, ignoring the wall clock time. * * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond */ public static TimingInfo newTimingInfoFullSupport(long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, Long.valueOf(endTimeNano)); }
/** * Returns a {@link TimingInfoFullSupport} based on the given * start time since epoch in millisecond, * and the given start and end time in nanosecond. * * @param startEpochTimeMilli start time since epoch in millisecond * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond */ public static TimingInfo newTimingInfoFullSupport( long startEpochTimeMilli, long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(Long.valueOf(startEpochTimeMilli), startTimeNano, Long.valueOf(endTimeNano)); }
/** * Captures the current wall clock time (since epoch in millisecond) * and the current time (in nanosecond) used for timing measurement. * For more info, see: * https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks */ public static TimingInfo startTimingFullSupport() { return new TimingInfoFullSupport(Long.valueOf(System.currentTimeMillis()), System.nanoTime(), null); }
/** * Captures the given start time in nanosecond, ignoring the wall clock * time. * * @param startTimeNano start time in nanosecond * @return the TimingInfo. */ public static TimingInfo startTimingFullSupport(long startTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, null); }
/** * Captures the given wall clock time and start time in nanosecond * * @param startTimeMillis start time since epoch in millisecond * @param startTimeNano start time in nanosecond */ public static TimingInfo startTimingFullSupport(long startTimeMillis, long startTimeNano) { return new TimingInfoFullSupport(startTimeMillis, startTimeNano, null); }
/** * Captures the given start time in nanosecond, ignoring the wall clock time. * * @param startTimeNano start time in nanosecond */ public static TimingInfo startTimingFullSupport(long startTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, null); }
/** * Returns a {@link TimingInfoFullSupport} based on the given * start and end time in nanosecond, ignoring the wall clock time. * * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond */ public static TimingInfo newTimingInfoFullSupport(long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, Long.valueOf(endTimeNano)); }
/** * Returns a {@link TimingInfoFullSupport} based on the given start and end * time in nanosecond, ignoring the wall clock time. * * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond * @return the TimingInfo. */ public static TimingInfo newTimingInfoFullSupport(long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, Long.valueOf(endTimeNano)); }
/** * Returns a {@link TimingInfoFullSupport} based on the given * start time since epoch in millisecond, * and the given start and end time in nanosecond. * * @param startEpochTimeMilli start time since epoch in millisecond * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond */ public static TimingInfo newTimingInfoFullSupport( long startEpochTimeMilli, long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(Long.valueOf(startEpochTimeMilli), startTimeNano, Long.valueOf(endTimeNano)); }
/** * Captures the current wall clock time (since epoch in millisecond) * and the current time (in nanosecond) used for timing measurement. * For more info, see: * https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks */ public static TimingInfo startTimingFullSupport() { return new TimingInfoFullSupport(Long.valueOf(System.currentTimeMillis()), System.nanoTime(), null); }
/** * Captures the current wall clock time (since epoch in millisecond) and the * current time (in nanosecond) used for timing measurement. For more info, * see: https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks * @return the TimingInfo. */ public static TimingInfo startTimingFullSupport() { return new TimingInfoFullSupport(Long.valueOf(System.currentTimeMillis()), System.nanoTime(), null); }
/** * Returns a {@link TimingInfoFullSupport} based on the given start time * since epoch in millisecond, and the given start and end time in * nanosecond. * * @param startEpochTimeMilli start time since epoch in millisecond * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond * @return the TimingInfo. */ public static TimingInfo newTimingInfoFullSupport( long startEpochTimeMilli, long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(Long.valueOf(startEpochTimeMilli), startTimeNano, Long.valueOf(endTimeNano)); }
/** * Captures the given start time in nanosecond, ignoring the wall clock * time. * * @param startTimeNano start time in nanosecond * @return the TimingInfo. */ public static TimingInfo startTimingFullSupport(long startTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, null); }
/** * Captures the given start time in nanosecond, ignoring the wall clock * time. * * @param startTimeNano start time in nanosecond * @return the TimingInfo. */ public static TimingInfo startTimingFullSupport(long startTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, null); }
/** * Returns a {@link TimingInfoFullSupport} based on the given start and end * time in nanosecond, ignoring the wall clock time. * * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond * @return the TimingInfo. */ public static TimingInfo newTimingInfoFullSupport(long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, Long.valueOf(endTimeNano)); }
/** * Returns a {@link TimingInfoFullSupport} based on the given start and end * time in nanosecond, ignoring the wall clock time. * * @param startTimeNano start time in nanosecond * @param endTimeNano end time in nanosecond * @return the TimingInfo. */ public static TimingInfo newTimingInfoFullSupport(long startTimeNano, long endTimeNano) { return new TimingInfoFullSupport(null, startTimeNano, Long.valueOf(endTimeNano)); }
/** * Captures the current wall clock time (since epoch in millisecond) and the * current time (in nanosecond) used for timing measurement. For more info, * see: https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks * @return the TimingInfo. */ public static TimingInfo startTimingFullSupport() { return new TimingInfoFullSupport(Long.valueOf(System.currentTimeMillis()), System.nanoTime(), null); }
/** * Captures the current wall clock time (since epoch in millisecond) and the * current time (in nanosecond) used for timing measurement. For more info, * see: https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks * @return the TimingInfo. */ public static TimingInfo startTimingFullSupport() { return new TimingInfoFullSupport(Long.valueOf(System.currentTimeMillis()), System.nanoTime(), null); }