ProfilingType Enum

Definition

Defines profiling type values used by the Android OS API.

public enum ProfilingType
type ProfilingType = 
Inheritance
ProfilingType

Fields

Name Value Description
JavaHeapDump 1

Profiling type for requestProfiling(int, Bundle, String, CancellationSignal, Executor, Consumer) to request a java heap dump.

HeapProfile 2

Profiling type for requestProfiling(int, Bundle, String, CancellationSignal, Executor, Consumer) to request a heap profile.

StackSampling 3

Profiling type for requestProfiling(int, Bundle, String, CancellationSignal, Executor, Consumer) to request a stack sample.

SystemTrace 4

Profiling type for requestProfiling(int, Bundle, String, CancellationSignal, Executor, Consumer) to request a system trace.

Remarks

Provides Android OS API values for ProfilingType.

Java documentation for android.os.ProfilingManager.

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