Debug.TraceCountAllocs 字段

定义

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

字段值

Value = 1
属性

注解

startMethodTracing() 的标志。 这些可以是 ORed 在一起。

TRACE_COUNT_ALLOCS将 startAllocCounting 的结果添加到跟踪密钥文件。

此成员已弃用。 准确的计数是运行时的负担,可以删除。

Java文档android.os.Debug.TRACE_COUNT_ALLOCS

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于