Partager via


Debug.TraceCountAllocs Field

Definition

Flags for startMethodTracing().

[Android.Runtime.Register("TRACE_COUNT_ALLOCS")]
public const Android.OS.DebugTraceOptions TraceCountAllocs = 1;
[<Android.Runtime.Register("TRACE_COUNT_ALLOCS")>]
val mutable TraceCountAllocs : Android.OS.DebugTraceOptions

Field Value

Value = 1
Attributes

Remarks

Flags for startMethodTracing(). These can be ORed together.

TRACE_COUNT_ALLOCS adds the results from startAllocCounting to the trace key file.

This member is deprecated. Accurate counting is a burden on the runtime and may be removed.

Java documentation for android.os.Debug.TRACE_COUNT_ALLOCS.

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