Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

measure the runtime and compiletime

Posted on 1999-01-11
1
Medium Priority
?
267 Views
Last Modified: 2013-11-15
How shall i measure the runtime and compile time of a 'c'
program .Could someone send the skeleton of the code...
0
Comment
Question by:tcsubash
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 60 total points
ID: 1255767
compile time:
  time cc -pg -c file.c
runtime:
  a.out; prof

No change in code needed ;-)

0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Web hosting control panels were first developed to make it faster and easier for most users to set up and operate websites. The graphical user interface (GUI) allows users to perform tasks by pointing and clicking rather than typing highly specific…
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question