Język

Debug.TraceCountAllocs Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.DebugTraceOptions enum directly instead of this field.

Flags for startMethodTracing().

[Android.Runtime.Register("TRACE_COUNT_ALLOCS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.DebugTraceOptions enum directly instead of this field.", true)]
public const Android.OS.DebugTraceOptions TraceCountAllocs = 1;
[<Android.Runtime.Register("TRACE_COUNT_ALLOCS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.DebugTraceOptions enum directly instead of this field.", true)>]
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