-
公开(公告)号:US11243597B2
公开(公告)日:2022-02-08
申请号:US16147132
申请日:2018-09-28
Applicant: Apple Inc.
Inventor: Abhinav Pathak , Albert S. Liu , Amit K. Vyas , Soren C. Spies , Matthew C. Widmann , Prajakta S. Karandikar , Anand Subramanian , Anthony J. Chivetta , Brian K. Tearse-Doyle
IPC: G06F1/00 , G06F11/30 , G06F1/3228 , G06F11/34
Abstract: Techniques are disclosed performing a power logging in a computer system at a sub-process level. An exemplary method includes an operating system of the computer system determining process information indicative of which sub-portions of one or more processes are running on the computer system at different points in time, as well as may determining power information for the computer system at different points in time. The operating system may the create, from the process information and the power information, a power log indicative of power usage of sub-portions of processes at a plurality of points in time. The power logging may extend to both core and non-core resources of the system. For non-core resources, the power usage may be estimated in some cases based on the type of non-core resource being called as well as parameters passed to the non-core resource.