diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-10-22 03:01:11 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-10-22 03:01:31 +0800 |
| commit | e3d89238d176504e10a63d248625923a8bb3cfe7 (patch) | |
| tree | c04e308ccfc2d9d0aaffd200ea443676b6035ca9 /runtime | |
| parent | c8f1c10e6c661ecf949ab29e0e8efeaa13324670 (diff) | |
| download | RoughlyEnoughItems-e3d89238d176504e10a63d248625923a8bb3cfe7.tar.gz RoughlyEnoughItems-e3d89238d176504e10a63d248625923a8bb3cfe7.tar.bz2 RoughlyEnoughItems-e3d89238d176504e10a63d248625923a8bb3cfe7.zip | |
Fix Performance Analysis timings
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/common/logging/performance/PerformanceLoggerImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/common/logging/performance/PerformanceLoggerImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/common/logging/performance/PerformanceLoggerImpl.java index daae98b6b..934bf494e 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/common/logging/performance/PerformanceLoggerImpl.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/common/logging/performance/PerformanceLoggerImpl.java @@ -76,6 +76,7 @@ public class PerformanceLoggerImpl implements PerformanceLogger { public void close() { stopwatch.stop(); totalTime += stopwatch.elapsed(TimeUnit.NANOSECONDS); + stopwatch.reset(); } @Override |
