Repository: incubator-systemml
Updated Branches:
  refs/heads/master c5eddccf8 -> 0490fec93


[SYSTEMML-1402] Fix reset number of compiled mr/spark inst (w/ offset)

Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/0490fec9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/0490fec9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/0490fec9

Branch: refs/heads/master
Commit: 0490fec93105e1ec4494e8aecd47878036dcb275
Parents: c5eddcc
Author: Matthias Boehm <mboe...@gmail.com>
Authored: Wed Mar 15 15:19:48 2017 -0700
Committer: Matthias Boehm <mboe...@gmail.com>
Committed: Wed Mar 15 15:19:48 2017 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/sysml/utils/Statistics.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/0490fec9/src/main/java/org/apache/sysml/utils/Statistics.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/utils/Statistics.java 
b/src/main/java/org/apache/sysml/utils/Statistics.java
index 3ded328..801e402 100644
--- a/src/main/java/org/apache/sysml/utils/Statistics.java
+++ b/src/main/java/org/apache/sysml/utils/Statistics.java
@@ -175,7 +175,9 @@ public class Statistics
        public static void resetNoOfCompiledJobs( int count ) {
                //reset both mr/sp for multiple tests within one jvm
                numCompiledSPInst.reset();
+               numCompiledSPInst.add(count);
                numCompiledMRJobs.reset();
+               numCompiledMRJobs.add(count);
        }
 
        public static void resetNoOfExecutedJobs() {

Reply via email to