|
Message
From: cvs at opencores.org<cvs@o...>
Date: Thu May 22 12:20:29 CEST 2008
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/08/05 22:12:20 Modified: jop/java/target/src/rtapi/examples/scopes LocalScope.java Log: no message Revision Changes Path 1.2 jop/java/target/src/rtapi/examples/scopes/LocalScope.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/rtapi/examples/scopes/LocalScope.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: LocalScope.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/rtapi/examples/scopes/LocalScope.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- LocalScope.java 4 Mar 2008 23:55:50 -0000 1.1 +++ LocalScope.java 22 May 2008 10:20:29 -0000 1.2 @@ -30,8 +30,10 @@ */ public static void main(String[] args) { - - ScopedMemory scope = new ScratchpadScope(); + // This was my version with automatic sizing + // ScopedMemory scope = new ScratchpadScope(); + // Andy's version + ThreadLocalScope scope = new ThreadLocalScope(1000); System.out.print("Size of the scratchpad RAM is "); System.out.println(scope.size()); Runnable run = new Runnable() {
|