主权项 |
1. An integrated circuit (IC) device including a system for software code profiling, the system comprising:
a profiling register configured for storing a software function identifier; a time measurement circuit configured for starting and stopping a counter based on signals indicative of a start point and a stop point of the function in source code, where the signals are generated while compiled source code of the function is executing on the IC device; a counter array configured for storing a counter value indicative of a total execution time for the function; and a data structure configured for storing software function identifiers according to an order of execution of the corresponding functions. |