You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/09/26 07:27:24 UTC
[ignite-teamcity-bot] branch master updated: Profiling bug fixed
This is an automated email from the ASF dual-hosted git repository.
dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git
The following commit(s) were added to refs/heads/master by this push:
new 31f0a59 Profiling bug fixed
31f0a59 is described below
commit 31f0a595bef138ffb688e89f799809e5b639adf5
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Wed Sep 26 10:27:16 2018 +0300
Profiling bug fixed
---
.../main/java/org/apache/ignite/ci/web/rest/monitoring/HotSpot.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/monitoring/HotSpot.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/monitoring/HotSpot.java
index 0abe798..3165eb6 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/monitoring/HotSpot.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/monitoring/HotSpot.java
@@ -41,12 +41,9 @@ public class HotSpot {
'}';
}
- public void setCount(int count) {
- this.count = count;
- }
-
public void setTiming(long nanos, int count) {
this.ns = nanos;
+ this.count = count;
duration = TimeUtil.nanosToDurationPrintable(ns);
avgDuration = TimeUtil.nanosToDurationPrintable(ns / count);
}