diff options
author | Luck <git@lucko.me> | 2022-06-26 18:59:02 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2022-06-26 18:59:02 +0100 |
commit | fed6a350a80f6daa8c170770e5f300a0d5aa0894 (patch) | |
tree | 8e54a1b580fa19046a262d7a0969241951cb8ba6 /spark-common/src/main/java/me/lucko/spark/common/command | |
parent | 4d45579d2bf57b417d5d3eca041c2131177183e4 (diff) | |
download | spark-fed6a350a80f6daa8c170770e5f300a0d5aa0894.tar.gz spark-fed6a350a80f6daa8c170770e5f300a0d5aa0894.tar.bz2 spark-fed6a350a80f6daa8c170770e5f300a0d5aa0894.zip |
Include info about number of ticks in a profile
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/command')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java index 970d062..fd5cd67 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java +++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java @@ -266,7 +266,7 @@ public class SamplerModule implements CommandModule { if (this.activeSampler == null) { resp.replyPrefixed(text("There isn't an active profiler running.")); } else { - long timeout = this.activeSampler.getEndTime(); + long timeout = this.activeSampler.getAutoEndTime(); if (timeout == -1) { resp.replyPrefixed(text("There is an active profiler currently running, with no defined timeout.")); } else { |