Profiling is the process of analyzing software performance based on the time, memory, temporary storage and energy where the time includes total real time, user time and the time that kernel spent.
There are two techniques to determine the resource usage on a per-function basis. The first technique is sampling which keeps interrupting the program and determining which function is currently executing. The second technique is instrumentation which sets a breakpoint to where we are interested in and determine when and how often the code is take place.
Top comments (0)