projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c71b67
)
takes parameter that specifies how many items to prefetch
author
bdemsky
<bdemsky>
Fri, 13 Mar 2009 03:47:48 +0000
(
03:47
+0000)
committer
bdemsky
<bdemsky>
Fri, 13 Mar 2009 03:47:48 +0000
(
03:47
+0000)
Robust/src/Benchmarks/Prefetch/ManualPrefetch/Chase/Chase.java
patch
|
blob
|
history
diff --git
a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/Chase/Chase.java
b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/Chase/Chase.java
index f76f5bb50e72401edae3e1c1ff5d2b26d9ce7b7b..99553e95b441c2c0036d8a4aabe98b6e1adbd444 100644
(file)
--- a/
Robust/src/Benchmarks/Prefetch/ManualPrefetch/Chase/Chase.java
+++ b/
Robust/src/Benchmarks/Prefetch/ManualPrefetch/Chase/Chase.java
@@
-14,6
+14,9
@@
public class Chase extends Thread {
public static void main(String [] argv) {
Chase c;
int numTraverse = 10000;
+ if (argv.length>0)
+ numTraverse=Integer.parseInt(argv[0]);
+
atomic {
Foo fold=global new Foo();
@@
-25,6
+28,7
@@
public class Chase extends Thread {
c=global new Chase(fold);
}
+ System.out.println("Starting");
c.start((128<<24)|(195<<16)|(136<<8)|162);
c.join();
}