Home
last modified time | relevance | path

Searched refs:AVAILABLE_PROCESSORS (Results 1 – 5 of 5) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DCoroutineSchedulerStressTest.kt24 AVAILABLE_PROCESSORS * 4 in stressMemoryMultiplier()
54 …sertTrue(observed in (AVAILABLE_PROCESSORS - 1)..(AVAILABLE_PROCESSORS + 1), "Observed $observed t… in testInternalTasksSubmissionProgress()
DSchedulerTestBase.kt18 val CORES_COUNT = AVAILABLE_PROCESSORS
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DTasks.kt35 AVAILABLE_PROCESSORS.coerceAtLeast(2), // !!! at least two here
42 (AVAILABLE_PROCESSORS * 128).coerceIn(
DDispatcher.kt19 systemProp(IO_PARALLELISM_PROPERTY_NAME, 64.coerceAtLeast(AVAILABLE_PROCESSORS)),
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DSystemProps.kt11 internal val AVAILABLE_PROCESSORS = Runtime.getRuntime().availableProcessors() constant