-
公开(公告)号:US12182003B1
公开(公告)日:2024-12-31
申请号:US17647539
申请日:2022-01-10
Applicant: Apple Inc.
Inventor: Jaidev P. Patwardhan , Matthias Knoth , Shekhar S. Srikantaiah , Prakhar Malhotra , Matthew C. Widmann , Dmitriy B. Solomonov , Constantin Pistol
Abstract: An apparatus includes a processor circuit that includes a memory circuit, one or more processor cores, and a debug circuit. The debug circuit may be configured, in response to activation of a trace mode to record information indicative of instructions executing on the one or more processor cores, to write a trace data stream to the memory circuit that includes trace data collected on the instructions executing on the one or more processor cores. In response to a particular instruction within one of the processor cores specifying a write of a data value to an architecturally visible trace register, the debug circuit may be further configured to output the data value to the trace data stream as part of executing the particular instruction.
-
公开(公告)号: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.
-