Question
This is a Linux class I need with Writeup questions please.
Lab Writeup Answer the following questions in the comment box on Moodle: 1. What is the compiler option to enable level 2 optimization? 2. What is the compiler option to define a macro called CAPACITY with a value of 100? 3. Give the compiler line which will create an executable called lab1-18 from a source code file called lab1 18.cpp using return-type warnings and pendantic- errors. 4. Look at the man page for g++ and pick one architecture-related compiler option not listed in this lab. Name the option and describe what the man page says it does. 5. What is the purpose of the time utility? 6. How does the time utility differ from the gprof utility? 7. Look at the man page for time. What format token is used to tell time to output the average total memory use of the executable? 8. What compiler option must you use to enable profiling with the gprof utility?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. ANS:

Streamline. Upgrading aggregation takes fairly additional time, and significantly more memory for a vast capacity.

With - O, the compiler tries to lessen code size and execution time, without playing out any advancement that takes a lot of arrangement time

The execution tuning should be founded on a qualified application. You have to ensure the application rightness before you begin the execution tuning. Ordinarily we utilize - O0 alternative in this progression for simple troubleshooting. In the event that your application has just been checked either with GNU* compiler or IntelĀ® C++ compiler, you can begin the following stage for execution tuning.

This alternative empowers advancements for speed. This is the for the most part suggested improvement level. The compiler vectorization is empowered at O2 and larger amounts. With this choice, the compiler plays out some essential circle advancements, in lining of inherent, Intra-document interprocedural enhancement, and most normal compiler improvement advances.

5. ANS:

Time-utility capacity. Time-utility capacities TUFs, likewise called time-esteem capacities) are required for ongoing processing when a due date happens. ... Accordingly, a TUF is a speculation of due date limitations in regular day to day existence. With TUF time requirements, convenience optimality criteria can be determined.

The time utility was extraordinary as there was a dry season and we were offering filtered water at the most minimal cost in the market.

You have to make sense of the time utility and how to respond to it with the goal that you can take full favorable position of it

6. Ans:

The utility 'time' takes a program name as info and showcases data about the planning insights and assets utilized by the program. It demonstrates to what extent an order takes to run. This is helpful on the off chance that you are a designer and you need to test the execution of your program or content

While, Gprof ascertains the measure of time spent in every normal. It enables you to realize where your program invested its energy and which capacities called which different capacities while it was executing. This data can demonstrate to you which bits of your program are slower than you expected, and may be contender for changing to influence your program to execute quicker. It can likewise reveal to you which capacities are being called pretty much frequently than you anticipated. This may enable you to spot bugs that had generally been unnoticed.

HOPE THIS IT WILL BE HELP YOU

THANK YOU

Add a comment
Know the answer?
Add Answer to:
This is a Linux class I need with Writeup questions please. Lab Writeup Answer the following...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I need help in these questions in 30 minutes, please answer them fast Question 17 Between...

    I need help in these questions in 30 minutes, please answer them fast Question 17 Between 25% and 33% of all returnees exit their firms in what period of time? One year Two years Three years Five years Question 18 Duplicating American competencies in foreign countries is called: Ethnocentrism Home replication strategy Local responsiveness Integration framework Question 19 When an upward price change causes no loss of demand, the price is said to be: Elastic Inelastic Question 20 Wal-Mart occasionally...

  • Answer all the questions please LAB EXERCISE Name Primates Through the Miocene 1...

    Answer all the questions please LAB EXERCISE Name Primates Through the Miocene 12.3 Section Date Materials Needed Station 1: Paleocene-The First Possible Primates (Alternative to Specimens: Figures A and B on page 336) 1 Compare a plesiadapiform primate with a strepsirhine. Fill in the table below with brief descriptions of the listed features for each. If using the figures provided rather than actual specimens, some features may not be visible. Station 1: A lemur or other strepsirhine anda Plesiadipis or...

  • Use the lab manual to answer the following questions in COMPLETE SENTENCES. 1.Read through the introduction....

    Use the lab manual to answer the following questions in COMPLETE SENTENCES. 1.Read through the introduction. Answer the questions in between each historical section. 2. Describe tge activity that you ate doung for investygation 3. What does lysis and protease mean? 3. Which disease is describe in investigation 4? what mutation? PRE-LAB: LAB EXERCISE 7 Directions: Use the lab manual to answer the following questions in COMPLETE SENTENCES AND IN YOUR OWN WORDS. Use your own handwriting, do NOT type!...

  • These are the answers: I need help answering the following questions about the data please: II:...

    These are the answers: I need help answering the following questions about the data please: II: OBSERVATIONAL EXPERIMENT: ACCELERATION IN CIRCULAR MOTION Rubrics you should use for The goal of this experiment is to identify patterns in factors which affect the acceleration of an object moving in a circle at constant speed. guidance: Available equipment: Computer with LoggerPro installed A9, B5, B8, G5 a) An experiment was conducted in which a dynamics cart of mass 1kg was connected to a...

  • i need help with a mips program to to covert roman numerals to real numbers Lab 4: Roman Numeral Conversion Part A: Due...

    i need help with a mips program to to covert roman numerals to real numbers Lab 4: Roman Numeral Conversion Part A: Due Sunday, 19 May 2019, 11:59 PM Due Friday, 24 May 2019, 11:59 PM Part B: Minimum Submission Requirements Ensure that your Lab4 folder contains the following files (note the capitalization convention): o Diagram.pdf o Lab4. asm O README.txt Commit and push your repository Lab Objective In this lab, you will develop a more detailed understanding of how...

  • Please answer the following questions based on the Case-in-point: What are some of the dark sides...

    Please answer the following questions based on the Case-in-point: What are some of the dark sides to inter-organizational trust between buyer and supplier? Do you think supplier audits will negatively impact trust between buyer and supplier? How often (if at all) would you conduct supplier audits if you were chipotle based on this recent event? Which do you think is more important and why? The trust between buyer and supplier or the trust between an organization and its customer? Case-in-point:...

  • 5. Please answer the following questions with respect to PLC Theory (8) a. Which phase of...

    5. Please answer the following questions with respect to PLC Theory (8) a. Which phase of the PLC is the pizza business? What indicators can you list? b. Given the phase of the PLC you indicated at part a: 1. What marketing mix strategies would you expect Dominos to be using? il. What marketing mix strategies is Dominos actually using? Ill. What disconnects, issues or questions arise from parts I and il above? The Strategy Carrying Domino's to New Heights...

  • please I am having a lot of problems with the questions above .I am getting ready for the final this week.Can you please answer all of them . Tab 07) How many of the following events would requ...

    please I am having a lot of problems with the questions above .I am getting ready for the final this week.Can you please answer all of them . Tab 07) How many of the following events would require an expense to be recorded? Ordering office supplies Hiring a receptionist Paying employces' salaries for the current month Receiving but not paying a current utility bill Paying for insurance in advance A) One D)Iwo. C) Three. B) Four 08) The balance sheet...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT