Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

(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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

3 4 6 .

Answered: 1 week ago