发明名称 Use of multi-thread hardware for efficient sampling
摘要 This disclosure pertains to systems, methods, and computer readable media for utilizing an unused hardware thread of a multi-core microcontroller of a graphical processing unit (GPU) to gather sampling data of commands being executed by the GPU. The multi-core microcontroller may include two or more hardware threads and may be responsible for managing the scheduling of commands on the GPU. In one embodiment, the firmware code of the multi-core microcontroller which is responsible for running the GPU may run entirely on one hardware thread of the microcontroller, while the second hardware thread is kept in a dormant state. This second hardware thread may be used for gathering sampling data of the commands run on the GPU. The sampling data can be used to assist developers identify bottlenecks and to help them optimize their software programs.
申请公布号 US9405575(B2) 申请公布日期 2016.08.02
申请号 US201314021895 申请日期 2013.09.09
申请人 Apple Inc. 发明人 Burka Zachary;Metral Serge
分类号 G06F9/46;G06F9/48;G06F9/50;G06F11/30;G06F11/34 主分类号 G06F9/46
代理机构 Blank Rome LLP 代理人 Blank Rome LLP
主权项 1. A non-transitory program storage device, readable by a processing unit and comprising instructions stored thereon to cause one or more processing units to: process commands received for a graphics processing unit (GPU) by a first hardware thread of a multicore microcontroller of the GPU; enable a second hardware thread of the multicore microcontroller to obtain performance analysis data of the GPU while the first hardware thread processes the commands; and disable the second hardware thread from obtaining the performance analysis data while the first hardware thread continues to processes the commands by having the first hardware thread instruct the second hardware thread to stop obtaining the performance analysis data.
地址 Cupertino CA US