Lines Matching refs:numberOfThreads
334 int numberOfThreads = -1; in parseAndRun() local
347 numberOfThreads = Integer.parseInt(args[i]); in parseAndRun()
373 if (numberOfThreads == -1) { in parseAndRun()
374 numberOfThreads = 5; in parseAndRun()
386 operationsPerThread = totalOperations/numberOfThreads; in parseAndRun()
398 runTest(numberOfThreads, numberOfDaemons, operationsPerThread, lock, frequencyMap); in parseAndRun()
401 public static void runTest(final int numberOfThreads, final int numberOfDaemons, in runTest() argument
418 final Main[] threadStresses = new Main[numberOfThreads + numberOfDaemons]; in runTest()
437 threadStresses[t] = t < numberOfThreads ? new Main(lock, t, operations) : in runTest()
467 Thread[] runners = new Thread[numberOfThreads]; in runTest()
522 Main daemon = threadStresses[numberOfThreads + r]; in runTest()