[#3934] Add StopWatch.split() to get current time

This commit is contained in:
lukaseder 2015-01-10 13:31:59 +01:00
parent 1c6bd5a2eb
commit ccb5101229

View File

@ -88,6 +88,10 @@ public final class StopWatch {
}
}
public long split() {
return System.nanoTime() - start;
}
private String splitMessage() {
final long temp = split;
split = System.nanoTime();