ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [6/9] ignite git commit: debug
Date Wed, 18 Jan 2017 15:27:42 GMT
debug


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2a6541b5
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2a6541b5
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2a6541b5

Branch: refs/heads/ignite-db-x-opt
Commit: 2a6541b52aef832d12c0b9982e1b2a3879579855
Parents: 3447cd4
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Dec 19 10:58:39 2016 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Dec 19 10:58:39 2016 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/util/OperationStatistic.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2a6541b5/modules/core/src/main/java/org/apache/ignite/internal/util/OperationStatistic.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/OperationStatistic.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/OperationStatistic.java
index a1f323e..b3635ac 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/OperationStatistic.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/OperationStatistic.java
@@ -71,7 +71,7 @@ public class OperationStatistic {
     }
 
     public final void startOp(int op) {
-        assert time[op] == -1L : time[op];
+//        assert time[op] == -1L : time[op];
 
         time[op] = System.nanoTime();
     }
@@ -79,7 +79,7 @@ public class OperationStatistic {
     public final void endOp(int op) {
         long start = time[op];
 
-        assert start > 0 : start;
+        //assert start > 0 : start;
 
         time[op] = System.nanoTime() - start;
     }


Mime
View raw message