While developing embedded software on the host system, you need to check how much time it takes to execute some of the functions/modules. This information is required to find out the time-consuming functions so that either you can optimize the code or you can write computationally intensive portions of the code in assembly language for faster execution.
The command "gprof" gives the timing of different functions. To obtain the timings, you need to compile the program with profiling option as below:$gcc -pg -o program program. Now you can run the program using the command: $./program A file with the name gmon.out is created.
The output will display the time taken by various functions. You can analyze the timings to find out which portions of the code are taking longer time.
Note: In embedded/real-time software development, if proper timing analysis is not done during the design stage, only during testing time the performance limitations will be evident. The profilers are of immense use during module testing to do the timing analysis.
Testing Tools Related Interview Questions
|LoadRunner Interview Questions||QTP Interview Questions|
|Agile Testing Interview Questions||Manual Testing Interview Questions|
|Quality Management Interview Questions||Quality Control Interview Questions|
|Selenium Interview Questions||Qlik View Interview Questions|
|Bugzilla Bug Tracking System Interview Questions||Software testing Interview Questions|
|Test Cases Interview Questions||Performance Testing Interview Questions|
|Test Estimation Interview Questions||Test Manager Interview Questions|
|Qlik Sense Interview Questions||Test Director Interview Questions|
|Mantis Bug Tracking Interview Questions||Test Plan Interview Questions|
|Defect Reporting Interview Questions||Test Complete Interview Questions|
Testing Tools Related Practice Tests
|LoadRunner Practice Tests||QTP Practice Tests|
|Agile Testing Practice Tests||Manual Testing Practice Tests|
|Quality Management Practice Tests||Quality Control Practice Tests|
|Selenium Practice Tests||Qlik View Practice Tests|
|Bugzilla Bug Tracking System Practice Tests||Software testing Practice Tests|
|Performance Testing Practice Tests|
Testing Tools Tutorial
Software Qualityassurance An Overview
Software Testing Process
Software Testing Tools An Overview
Source Code Testing Utilities In Unix/linux Environment
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.