Searched refs:availableProcessors (Results 1 – 25 of 34) sorted by relevance
12
38 public int jobs = Runtime.getRuntime().availableProcessors();
60 private int jobs = Runtime.getRuntime().availableProcessors();
11 internal val AVAILABLE_PROCESSORS = Runtime.getRuntime().availableProcessors()
39 val cores = Runtime.getRuntime().availableProcessors() in <lambda>()
23 for (int i = 0, count = Runtime.getRuntime().availableProcessors() * 4; i < count; i++) { in shouldRunInParallel()
44 return fixedThreadsExecutor(log, name, Runtime.getRuntime().availableProcessors()); in threadPerCpuExecutor()
88 ? Runtime.getRuntime().availableProcessors() in LoadServer()166 return Runtime.getRuntime().availableProcessors(); in getCores()
56 Integer.highestOneBit(Runtime.getRuntime().availableProcessors() * 2 - 1)
68 runPingPongs(Runtime.getRuntime().availableProcessors()) in coresCountPingPongs()
16 val CORES_COUNT = Runtime.getRuntime().availableProcessors()
65 …state = Array(Runtime.getRuntime().availableProcessors() * 4) { LongArray(stateSize) { ThreadLocal… in setup()
124 Map<Class<? extends ResultProcessor>, Provider<ResultProcessor>> availableProcessors) { in provideResultProcessors() argument127 Provider<ResultProcessor> resultProcessorProvider = availableProcessors.get(processorClass); in provideResultProcessors()
57 Integer.toString(Runtime.getRuntime().availableProcessors())); in getProperties()
48 ?: (Runtime.getRuntime().availableProcessors() - 1).coerceAtLeast(1)
47 runPingPongs(Runtime.getRuntime().availableProcessors()) in <lambda>()
86 getRuntime().availableProcessors(), in LibvpxVideoRenderer()
77 /* threads= */ getRuntime().availableProcessors(), in Libgav1VideoRenderer()
147 final int cores = Math.max(1, Runtime.getRuntime().availableProcessors()); in createGlide()
68 arguments "-j" + Runtime.getRuntime().availableProcessors()
100 this(Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors())); in ParallelScatterZipCreator()
68 for (int i = 0; i < Runtime.getRuntime().availableProcessors(); i++) { in runTasks()
134 static final int NCPU = Runtime.getRuntime().availableProcessors();