Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started