Searched refs:numberOfThreads (Results 1 – 8 of 8) sorted by relevance
20 static final int numberOfThreads = 8; field in Main24 final Thread[] threads = new Thread[numberOfThreads]; in main()
18 static final int numberOfThreads = 2; field in Main35 final Thread[] threads = new Thread[numberOfThreads]; in main()
18 static final int numberOfThreads = 2; field in Main34 final Thread[] threads = new Thread[numberOfThreads]; in main()
22 static final int numberOfThreads = 4; field in Main44 final Thread[] threads = new Thread[numberOfThreads]; in main()
426 int numberOfThreads = -1; in parseAndRun() local440 numberOfThreads = Integer.parseInt(args[i]); in parseAndRun()473 if (numberOfThreads == -1) { in parseAndRun()474 numberOfThreads = 5; in parseAndRun()486 operationsPerThread = totalOperations/numberOfThreads; in parseAndRun()500 runTest(numberOfThreads, numberOfDaemons, operationsPerThread, lock, frequencyMap); in parseAndRun()579 public static void runTest(final int numberOfThreads, final int numberOfDaemons, in runTest() argument583 final Barrier startBarrier = new Barrier(numberOfThreads + numberOfDaemons + 1); in runTest()599 final Main[] threadStresses = new Main[numberOfThreads + numberOfDaemons]; in runTest()618 threadStresses[t] = (t < numberOfThreads) in runTest()[all …]
22 static final int numberOfThreads = 5; field in Main36 final Thread[] threads = new Thread[numberOfThreads]; in main()
21 static final int numberOfThreads = 5; field in Main25 final Thread[] threads = new Thread[numberOfThreads]; in main()