For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/lynx-api/performance-api/host-platform-timing/android-host-platform-timing.md.
Lynx
  • 简体中文
  • AndroidHostPlatformTiming BTS

    该接口描述了 Lynx Pipeline 中 Android 平台特有 Measure、Layout 和 Draw 的性能数据,具体如下图所示:

    示例

    该示例展示了如何产生和获取 PipelineEntry

    实例属性

    hostPlatformType

    hostPlatformType: string;

    描述 Host Platform 类型的字符串,默认取值为:Android

    measureStart

    measureStart: number;

    在一次 Lynx Pipeline 中,首次执行 LynxViewonMeasure 的开始时间戳。该时间戳是一个表示为浮点型的 Unix 时间戳(单位:毫秒),精确到小数点后三位。例如:1739594612307.429。

    measureEnd

    measureEnd: number;

    在一次 Lynx Pipeline 中,最后一次执行 LynxViewonMeasure 的结束时间戳。该时间戳是一个表示为浮点型的 Unix 时间戳(单位:毫秒),精确到小数点后三位。例如:1739594612307.429。

    layoutStart

    layoutStart: number;

    在一次 Lynx Pipeline 中,首次执行 LynxViewonLayout 的开始时间戳。该时间戳是一个表示为浮点型的 Unix 时间戳(单位:毫秒),精确到小数点后三位。例如:1739594612307.429。

    layoutEnd

    layoutEnd: number;

    在一次 Lynx Pipeline 中,最后一次执行 LynxViewonLayout 的结束时间戳。该时间戳是一个表示为浮点型的 Unix 时间戳(单位:毫秒),精确到小数点后三位。例如:1739594612307.429。

    drawStart

    drawStart: number;

    在一次 Lynx Pipeline 中,执行 LynxViewdispatchDraw 的开始时间戳。该时间戳是一个表示为浮点型的 Unix 时间戳(单位:毫秒),精确到小数点后三位。例如:1739594612307.429。

    drawEnd

    drawEnd: number;

    在一次 Lynx Pipeline 中,执行 LynxViewdispatchDraw 的结束时间戳。该时间戳是一个表示为浮点型的 Unix 时间戳(单位:毫秒),精确到小数点后三位。例如:1739594612307.429。

    兼容性

    LCD tables only load in the browser

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。