startSampling

suspend fun startSampling(args: Memory.StartSamplingParameter, mode: CommandMode = CommandMode.DEFAULT)

Start collecting native memory profile.


suspend fun startSampling(samplingInterval: Int? = null, suppressRandomness: Boolean? = null)

Start collecting native memory profile.

Parameters

samplingInterval

Average number of bytes between samples.

suppressRandomness

Do not randomize intervals between samples.