-
公开(公告)号:US20200250789A1
公开(公告)日:2020-08-06
申请号:US16853709
申请日:2020-04-20
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage in graphics user interfaces (UI) in handheld mobile devices is disclosed, which includes quantifying the central processing unit (CPU) energy drain of each UI update, quantifying the graphics processing unit (GPU) energy drain of each UI update, quantifying the number of pixels changed due to each UI update, identifying an UI update that consumes energy drain but results in no pixel changes to the displayed frame as a graphics energy bug.
-
公开(公告)号:US11551327B2
公开(公告)日:2023-01-10
申请号:US17460174
申请日:2021-08-28
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage of invoking an application programming interface (API) by an application in a computing device. The method includes obtaining source code for the API, modifying each class by adding a callback function identifier field that is initiated to a unique value upon instantiation of each object that belongs to the class, identifying each location in the source code that posts the callback function for asynchronous execution by enqueueing each object instantiated from the class containing the callback function into the system callback queue, modifying the source code to log the callback function identifier of object at the location that dequeues objects from the system callback queue, modifying source code by adding two system logging function calls to log the callback function identifier of the dequeued object before and after executing the callback function, executing the application, and performing energy accounting of the asynchronous API calls.
-
公开(公告)号:US20210390655A1
公开(公告)日:2021-12-16
申请号:US17460174
申请日:2021-08-28
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage of invoking an application programming interface (API) by an application in a computing device. The method includes obtaining source code for the API, modifying each class by adding a callback function identifier field that is initiated to a unique value upon instantiation of each object that belongs to the class, identifying each location in the source code that posts the callback function for asynchronous execution by enqueueing each object instantiated from the class containing the callback function into the system callback queue, modifying the source code to log the callback function identifier of object at the location that dequeues objects from the system callback queue, modifying source code by adding two system logging function calls to log the callback function identifier of the dequeued object before and after executing the callback function, executing the application, and performing energy accounting of the asynchronous API calls.
-
4.
公开(公告)号:US11107179B2
公开(公告)日:2021-08-31
申请号:US16392518
申请日:2019-04-23
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage of invoking an application programming interface (API) by an application in a computing device. The method includes obtaining source code for the API, modifying each class by adding a callback function identifier field that is initiated to a unique value upon instantiation of each object that belongs to the class, identifying each location in the source code that posts the callback function for asynchronous execution by enqueueing each object instantiated from the class containing the callback function into the system callback queue, modifying the source code to log the callback function identifier of object at the location that dequeues objects from the system callback queue, modifying source code by adding two system logging function calls to log the callback function identifier of the dequeued object before and after executing the callback function, executing the application, and performing energy accounting of the asynchronous API calls.
-
公开(公告)号:US20190325550A1
公开(公告)日:2019-10-24
申请号:US16392561
申请日:2019-04-23
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage in graphics user interface (UI) update in handheld mobile devices is disclosed. The method includes mapping the pixel changes of each frame to a responsible UI update, identifying method invocations at all layers of the UI rendering stack, tracking asynchronous dependence across all layers of the UI rendering stack corresponding to each UI update by assigning a unique frame identification (ID) per frame refresh to track asynchronous dependence between UI updates and corresponding callbacks across all layers of the UI rendering stack, tracking information flow across a corresponding graphics processing unit (GPU) by using an OpenGL record-and-replay method, reconstructing the frames by replaying the OpenGL calls on the GPU during post processing, comparing frames to account for pixel changes, and tracking and attributing the energy usage during UI operations to individual UI updates.
-
公开(公告)号:US11551328B2
公开(公告)日:2023-01-10
申请号:US17534306
申请日:2021-11-23
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage in graphics user interfaces (UI) in handheld mobile devices is disclosed, which includes quantifying the central processing unit (CPU) energy drain of each UI update, quantifying the graphics processing unit (GPU) energy drain of each UI update, quantifying the number of pixels changed due to each UI update, identifying an UI update that consumes energy drain but results in no pixel changes to the displayed frame as a graphics energy bug.
-
公开(公告)号:US11200637B2
公开(公告)日:2021-12-14
申请号:US16853709
申请日:2020-04-20
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage in graphics user interfaces (UI) in handheld mobile devices is disclosed, which includes quantifying the central processing unit (CPU) energy drain of each UI update, quantifying the graphics processing unit (GPU) energy drain of each UI update, quantifying the number of pixels changed due to each UI update, identifying an UI update that consumes energy drain but results in no pixel changes to the displayed frame as a graphics energy bug.
-
公开(公告)号:US20220084158A1
公开(公告)日:2022-03-17
申请号:US17534306
申请日:2021-11-23
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
Abstract: A method for profiling energy usage in graphics user interfaces (UI) in handheld mobile devices is disclosed, which includes quantifying the central processing unit (CPU) energy drain of each UI update, quantifying the graphics processing unit (GPU) energy drain of each UI update, quantifying the number of pixels changed due to each UI update, identifying an UI update that consumes energy drain but results in no pixel changes to the displayed frame as a graphics energy bug.
-
公开(公告)号:US20190324513A1
公开(公告)日:2019-10-24
申请号:US16392518
申请日:2019-04-23
Applicant: Purdue Research Foundation
Inventor: Yu Charlie Hu , Ning Ding
IPC: G06F1/28
Abstract: A method for profiling energy usage of invoking an application programming interface (API) by an application in a computing device. The method includes obtaining source code for the API, modifying each class by adding a callback function identifier field that is initiated to a unique value upon instantiation of each object that belongs to the class, identifying each location in the source code that posts the callback function for asynchronous execution by enqueueing each object instantiated from the class containing the callback function into the system callback queue, modifying the source code to log the callback function identifier of object at the location that dequeues objects from the system callback queue, modifying source code by adding two system logging function calls to log the callback function identifier of the dequeued object before and after executing the callback function, executing the application, and performing energy accounting of the asynchronous API calls.
-
-
-
-
-
-
-
-