public StopWatch createWatch() { return new NanoStopWatch(); } }
private StopWatchHolder(OperationType opType) { this.childDuration = 0L; this.operationType = opType; this.stopWatch = new NanoStopWatch(); this.stopWatch.start(TimeUtil.millisToNanos(System.currentTimeMillis())); this.startNanos = stopWatch.mark(); }