Searched refs:numberOfThreads (Results 1 – 5 of 5) sorted by relevance
20 static final int numberOfThreads = 8; field in Main24 final Thread[] threads = new Thread[numberOfThreads]; in main()
337 int numberOfThreads = -1; in parseAndRun() local350 numberOfThreads = Integer.parseInt(args[i]); in parseAndRun()376 if (numberOfThreads == -1) { in parseAndRun()377 numberOfThreads = 5; in parseAndRun()389 operationsPerThread = totalOperations/numberOfThreads; in parseAndRun()402 runTest(numberOfThreads, numberOfDaemons, operationsPerThread, lock, frequencyMap); in parseAndRun()410 public static void runTest(final int numberOfThreads, final int numberOfDaemons, in runTest() argument414 final Barrier startBarrier = new Barrier(numberOfThreads + numberOfDaemons + 1); in runTest()430 final Main[] threadStresses = new Main[numberOfThreads + numberOfDaemons]; in runTest()449 threadStresses[t] = (t < numberOfThreads) in runTest()[all …]
22 static final int numberOfThreads = 4; field in Main44 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()
21 static final int numberOfThreads = 5; field in Main25 final Thread[] threads = new Thread[numberOfThreads]; in main()