Question: (10 marks) Profiling is an effective method to provide measurements for the performance of software applications. With profiling, you get fine grained information for the

 (10 marks) Profiling is an effective method to provide measurements for

(10 marks) Profiling is an effective method to provide measurements for the performance of software applications. With profiling, you get fine grained information for the components of an application, such as how often a function is called, how long a routine takes to execute and how much time are spent of different spots in the code. With this information, you could identify the performance bottlenecks and the poorly implemented parts in a software application, and find effective methods to improve them. The perf tool is provided by Linux kernel (2.6+) for profiling CPU and software events. It is based on the perf_events system, which is based on event-based sampling, and it uses CPU performance counters to profile the application. Select the most complex C++ program that you ever written (including those you written in assignments of previous CS classes that you have taken). Use perf to analyse the performance of that program. Write a short description about the analysis result

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!