projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d979d1b
)
use the same random number generator
author
bdemsky
<bdemsky>
Tue, 3 Mar 2009 07:25:47 +0000
(07:25 +0000)
committer
bdemsky
<bdemsky>
Tue, 3 Mar 2009 07:25:47 +0000
(07:25 +0000)
Robust/src/Benchmarks/Distributed/LookUpService/dsm/LookUpService.java
patch
|
blob
|
history
diff --git
a/Robust/src/Benchmarks/Distributed/LookUpService/dsm/LookUpService.java
b/Robust/src/Benchmarks/Distributed/LookUpService/dsm/LookUpService.java
index c324e5d4973c1371466ce9e662bee4e36874b336..c61fa5433b0962a0c41f1e35af6d3a209b41ec27 100644
(file)
--- a/
Robust/src/Benchmarks/Distributed/LookUpService/dsm/LookUpService.java
+++ b/
Robust/src/Benchmarks/Distributed/LookUpService/dsm/LookUpService.java
@@
-50,8
+50,9
@@
public class LookUpService extends Thread {
}
// Do read/writes
+ Random rand = new Random(0);
+
for (int i = 0; i < ntrans; i++) {
- Random rand = new Random(i);
atomic {
for(int j = 0; j < nLookUp; j++) {
int rdwr = rand.nextInt(100);