Home | History | Annotate | Download | only in ThreadStress

Lines Matching refs:operations

58         // operations. The distribution of operations is determined by
60 // for each thread with the operations it is to perform. The
68 // operations. So here we do a quick sanity check in case
83 Operation[] operations = new Operation[operationsPerThread];
89 if (o == operations.length) {
92 operations[o] = op;
98 Collections.shuffle(Arrays.asList(operations));
99 threadStresses[t] = new ThreadStress(lock, t, operations);
106 Operation[] operations = new Operation[operationsPerThread];
108 for (Operation operation : operations) {
145 + " operations remaining.");
174 private final Operation[] operations;
180 private ThreadStress(Object lock, int id, Operation[] operations) {
183 this.operations = operations;
191 while (nextOperation < operations.length) {
192 Operation operation = operations[nextOperation];