-
公开(公告)号:US11061793B2
公开(公告)日:2021-07-13
申请号:US15900740
申请日:2018-02-20
Applicant: Apple Inc.
Inventor: Abhinav Pathak , Conor J. O'Reilly , Shashi K. Dua , Udaykumar R. Raval , Christopher W. Chaney , Amit K. Vyas , Albert S. Liu , Roberto Alvarez , Rohit Mundra , Vladislav Sahnovich , Patrick Y. Law , Paul M. Thompson , Paolo Sacchetto , Chaohao Wang , Arthur L. Spence , Jean-Pierre Simon Guillou , Mohammad Ali Jangda , Christopher Edward Glazowski , Yifan Zhang , Prajakta S. Karandikar , Han Ming Ong
Abstract: Circuits, methods, and apparatus that may estimate the power being consumed by an OLED display screen of an electronic device, may provide further information about that power usage, may modify or change functions performed by the electronic device based on that power usage, and may inform an application's developer about the amount of power being used by the electronic device while the electronic device is running the application. One example may estimate the power being used by an OLED display screen of an electronic device by determining the content of images being displayed during a duration. The estimated power may then be presented to a user. The estimated power may be used in decisions to modify or change parameters of the screen or other device components.
-
公开(公告)号:US20180349244A1
公开(公告)日:2018-12-06
申请号:US15900740
申请日:2018-02-20
Applicant: Apple Inc.
Inventor: Abhinav Pathak , Conor J. O'Reilly , Shashi K. Dua , Udaykumar R. Raval , Christopher W. Chaney , Amit K. Vyas , Albert S. Liu , Roberto Alvarez , Rohit Mundra , Vladislav Sahnovich , Patrick Y. Law , Paul M. Thompson , Paolo Sacchetto , Chaohao Wang , Arthur L. Spence , Jean-Pierre Simon Guillou , Mohammad Ali Jangda , Christopher Edward Glazowski , Yifan Zhang , Prajakta S. Karandikar , Han Ming Ong
Abstract: Circuits, methods, and apparatus that may estimate the power being consumed by an OLED display screen of an electronic device, may provide further information about that power usage, may modify or change functions performed by the electronic device based on that power usage, and may inform an application's developer about the amount of power being used by the electronic device while the electronic device is running the application. One example may estimate the power being used by an OLED display screen of an electronic device by determining the content of images being displayed during a duration. The estimated power may then be presented to a user. The estimated power may be used in decisions to modify or change parameters of the screen or other device components.
-
公开(公告)号:US09378117B2
公开(公告)日:2016-06-28
申请号:US14292777
申请日:2014-05-30
Applicant: Apple Inc.
Inventor: David Vernon Payne , Daniel Andreas Steffen , Han Ming Ong , Jason Molenda , Kenneth Scott Orr , Katherine Blake Stone
CPC classification number: G06F11/3636
Abstract: When queuing work items for asynchronous execution, the approaches set forth herein enable a debugger to provide more meaningful and complete stack trace information for enqueued work items. An example system identifies a work item to be enqueued for asynchronous execution as a separate thread during runtime of a program. Upon enqueuing the work item in an execution queue, the system captures pre-queue stack trace information associated with the work item, and associates the pre-queue stack trace information with the work item. The system removes the work item from the execution queue for execution, wherein the execution is associated with current stack trace information separate from the pre-queue stack trace information. Upon detecting an event associated with executing the work item, the system merges the pre-queue stack trace information with the current stack trace information to yield a merged stack trace.
Abstract translation: 当对用于异步执行的工作项进行排队时,本文阐述的方法使调试器能够为排队的工作项提供更有意义和完整的堆栈跟踪信息。 示例系统在程序运行期间将要排入队列的工作项标识为异步执行,作为单独的线程。 在执行队列中排队工作项后,系统将捕获与工作项相关联的预排队堆栈跟踪信息,并将队列前跟踪信息与工作项相关联。 该系统从执行队列中删除工作项以供执行,其中执行与当前堆栈跟踪信息相关联,该信息与预先队列堆栈跟踪信息分开。 在检测到与执行工作项相关联的事件时,系统将预先队列堆栈跟踪信息与当前堆栈跟踪信息进行合并,以产生合并堆栈跟踪。
-
公开(公告)号:US20230393887A1
公开(公告)日:2023-12-07
申请号:US18204877
申请日:2023-06-01
Applicant: APPLE INC.
Inventor: Hamza B. Sohail , Joel Middendorf , Han Ming Ong
Abstract: Techniques may include launching an application and inserting a dynamic library into the application. An intercept wait function can intercept a target thread's call for a semaphore wait function. The semaphore wait function may request adding the target thread to a wait queue. The wait list of a table may be checked for the target thread. The table can store entries in the wait list or a signal list where an entry may include a quality-of-service category and a hang flag for a thread. The entry representing the target thread may be created after determining that the entry is not in the wait list. The semaphore wait function can enqueue the target thread to the wait queue. The target thread can be compared to entries in the signal list. The hang flag for the entry representing the target thread can be updated based on the comparison.
-
公开(公告)号:US20150347271A1
公开(公告)日:2015-12-03
申请号:US14292777
申请日:2014-05-30
Applicant: Apple Inc.
Inventor: David Vernon Payne , Daniel Andreas Steffen , Han Ming Ong , Jason Molenda , Kenneth Scott Orr , Katherine Blake Stone
IPC: G06F11/36
CPC classification number: G06F11/3636
Abstract: When queuing work items for asynchronous execution, the approaches set forth herein enable a debugger to provide more meaningful and complete stack trace information for enqueued work items. An example system identifies a work item to be enqueued for asynchronous execution as a separate thread during runtime of a program. Upon enqueuing the work item in an execution queue, the system captures pre-queue stack trace information associated with the work item, and associates the pre-queue stack trace information with the work item. The system removes the work item from the execution queue for execution, wherein the execution is associated with current stack trace information separate from the pre-queue stack trace information. Upon detecting an event associated with executing the work item, the system merges the pre-queue stack trace information with the current stack trace information to yield a merged stack trace.
Abstract translation: 当对用于异步执行的工作项进行排队时,本文阐述的方法使调试器能够为排队的工作项提供更有意义和完整的堆栈跟踪信息。 示例系统在程序运行期间将要排入队列的工作项标识为异步执行,作为单独的线程。 在执行队列中排队工作项后,系统将捕获与工作项相关联的预排队堆栈跟踪信息,并将队列前跟踪信息与工作项相关联。 系统从执行队列中删除工作项以供执行,其中执行与当前堆栈跟踪信息相关联,该信息与预排队堆栈跟踪信息分开。 在检测到与执行工作项相关联的事件时,系统将预先队列堆栈跟踪信息与当前堆栈跟踪信息进行合并,以产生合并堆栈跟踪。
-
-
-
-