setSamplingInterval

suspend fun setSamplingInterval(args: Profiler.SetSamplingIntervalParameter, mode: CommandMode = CommandMode.DEFAULT)

Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.


suspend fun setSamplingInterval(interval: Int)

Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.

Parameters

interval

New sampling interval in microseconds.