Patent ID: 11914497
Assignee: ARM LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory storage medium storing a computer program that, when executed by one or more data processors, causes the one or more data processors to perform the following steps:
analysing a plurality of interconnected computer program instructions and determining a degree of uniqueness of profile measurements of a plurality of control flow path fragments within the plurality of interconnected computer program instructions;
determining a profiling start point and a profiling end point based on:
a distance between the profiling start point and the profiling end point, and
a degree of uniqueness of the profile measurements of the plurality of control flow path fragments within the plurality of computer program instructions,
wherein the distance between the profiling start point and the profiling end point is smaller than a distance of other possible profiling start points and profiling end points, and wherein the degree of uniqueness is greater than a degree of uniqueness of other possible profiling start points and profiling end point; and

performing a compilation of the plurality of computer program instructions to produce a compiled output, wherein the compiled output comprises instrumentation computer program instructions;
executing the compiled instrumentation computer program instruction, to perform profiling between the determined the profiling start point and the profiling end point;
wherein profiling takes measurements of a series of actions between the determined the profiling start point and the profiling end point.