Language

Debug.TraceCountAllocs フィールド

定義

注意事項

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

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

フィールド値

Value = 1
属性

注釈

startMethodTracing() のフラグ。 これらは一緒に ORed にすることができます。

TRACE_COUNT_ALLOCSは、startAllocCounting からの結果をトレース キー ファイルに追加します。

このメンバーは非推奨です。 正確なカウントはランタイムの負担であり、削除される可能性があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象