Debug.StartMethodTracingSampling(String, Int32, Int32) Debug.StartMethodTracingSampling(String, Int32, Int32) Method

Definition

Start sampling-based method tracing, specifying the trace log file name, the buffer size, and the sampling interval.

[Android.Runtime.Register("startMethodTracingSampling", "(Ljava/lang/String;II)V", "", ApiSince=21)]
public static void StartMethodTracingSampling (string tracePath, int bufferSize, int intervalUs);
static member StartMethodTracingSampling : string * int * int -> unit

Parameters

tracePath
String String
bufferSize
Int32 Int32

The maximum amount of trace data we gather. If not given, it defaults to 8MB.

intervalUs
Int32 Int32

The amount of time between each sample in microseconds.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to