Mercurial > hg > Database > Alice
changeset 154:d6afa779dd49 working
minor change
author | sugi |
---|---|
date | Tue, 04 Dec 2012 15:58:09 +0900 |
parents | b6f997844747 |
children | 0979827c859b |
files | src/alice/test/codesegment/local/mergesort/ShowResult.java src/alice/test/codesegment/local/mergesort/StartSort.java |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/test/codesegment/local/mergesort/ShowResult.java Mon Dec 03 16:39:08 2012 +0900 +++ b/src/alice/test/codesegment/local/mergesort/ShowResult.java Tue Dec 04 15:58:09 2012 +0900 @@ -21,7 +21,7 @@ @Override public void run() { - System.out.println(System.currentTimeMillis() - StartSort.t +"ms"); + System.out.println(System.currentTimeMillis() - StartSort.t); List<Value> list = info.asArray(); for (int i =0; i+1< list.size();i++){ if (list.get(i).asIntegerValue().getInt()>list.get(i+1).asIntegerValue().getInt()){
--- a/src/alice/test/codesegment/local/mergesort/StartSort.java Mon Dec 03 16:39:08 2012 +0900 +++ b/src/alice/test/codesegment/local/mergesort/StartSort.java Tue Dec 04 15:58:09 2012 +0900 @@ -7,7 +7,7 @@ import alice.codesegment.SingletonMessage; public class StartSort extends CodeSegment{ - public static long t = System.currentTimeMillis(); + public static long t; SortConfig conf; public StartSort(SortConfig conf){ this.conf = conf; @@ -33,6 +33,7 @@ new SeparateArray(0); new ShowResult(0); + t = System.currentTimeMillis(); } }