Android.OS.Debug.StartMethodTracingSampling Method
Start sampling-based method tracing, specifying the trace log file name, the buffer size, and the sampling interval.

Syntax

[Android.Runtime.Register("startMethodTracingSampling", "(Ljava/lang/String;II)V", "")]
public static void StartMethodTracingSampling (string traceName, int bufferSize, int intervalUs)

Parameters

traceName
Name for the trace log file to create. If traceName is null, this value defaults to "/sdcard/dmtrace.trace". If the files already exist, they will be truncated. If the trace file given does not end in ".trace", it will be appended for you.
bufferSize
The maximum amount of trace data we gather. If not given, it defaults to 8MB.
intervalUs
The amount of time between each sample in microseconds.

Remarks

Start sampling-based method tracing, specifying the trace log file name, the buffer size, and the sampling interval. The trace files will be put under "/sdcard" unless an absolute path is given. See Traceview: A Graphical Log Viewer for information about reading trace files.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1