ProfilingType 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义 Android OS API 使用的分析类型值。
public enum ProfilingType
type ProfilingType =
- 继承
-
ProfilingType
字段
| 名称 | 值 | 说明 |
|---|---|---|
| JavaHeapDump | 1 | requestProfiling(int、Bundle、String、CancellationSignal、Executor、Consumer)的分析类型,用于请求 Java 堆转储。 |
| HeapProfile | 2 | requestProfiling(int、Bundle、String、CancellationSignal、Executor、Consumer)的分析类型,用于请求堆配置文件。 |
| StackSampling | 3 | requestProfiling(int、Bundle、String、CancellationSignal、Executor、Consumer)的分析类型,以请求堆栈示例。 |
| SystemTrace | 4 | requestProfiling(int、Bundle、String、CancellationSignal、Executor、Consumer)的分析类型以请求系统跟踪。 |
注解
为 ProfilingType 提供 Android OS API 值。
Java文档android.os.ProfilingManager。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。