发明名称 Recording a command stream with a rich encoding format for capture and playback of graphics content
摘要 Analyzing an application executing on a target device. An application may be executed on a target device. Low cost measurement may be gathered regarding the application executing on the target device. In response to a trigger, high cost measurement data may be gathered regarding the application executing on the target device. The high cost measurement data may include graphics commands provided by the application. The graphics commands and related information may be stored and provided to a host. The host may modify the graphics commands to perform experiments to determine performance issues of the application executing on the target device. The host may determine whether the performance is limited by the CPU or the GPU and may determine specific operations that are causing performance issues. The host may provide suggestions for overcoming the performance issues.
申请公布号 US9117286(B2) 申请公布日期 2015.08.25
申请号 US201314139467 申请日期 2013.12.23
申请人 Apple Inc. 发明人 Roy Jean-Francois;Iliescu Filip
分类号 G06T1/00;G06T1/20;G06T15/00;G06F3/14;G09G5/00;G09G5/36 主分类号 G06T1/00
代理机构 Fish & Richardson P.C. 代理人 Fish & Richardson P.C.
主权项 1. A non-transitory memory medium comprising program instructions executable to cause one or more processors to perform operations comprising: deploying an application to a target device for execution, wherein at least a first portion of the application executes in a graphics processing unit (GPU) of the target device, and at least a second portion of the application executes in a central processing unit (CPU) of the target device; receiving an initial command stream comprising commands to be executed by the GPU during the execution of the application; generating one or more modified command streams from the initial command stream; deploying the one or more modified command streams to the target device for execution, the execution generating performance information for one or more graphics commands in the one or more modified command streams, the performance information including CPU load information and GPU load information; analyzing a performance of the one or more modified command streams, wherein analyzing the performance comprises: determining, using the CPU load information and GPU load information, that a graphics command of the one or more graphics commands for executing on the GPU incurred a CPU cost, the CPU cost being caused by converting, by the CPU, data being provided by the graphic command from an original format that is not accepted by the GPU to a format that is acceptable by the GPU; anddetermining that, at least in part due to the CPU cost, the CPU load limited the performance of the one or more modified command streams; and providing a suggested modification to the application responsive to the analysis, wherein the suggested modification simplifies the graphic command to improve performance of the application.
地址 Cupertino CA US