Solved

measure the runtime and compiletime

Posted on 1999-01-11
1
258 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 20 total points
ID: 1255767
compile time:
  time cc -pg -c file.c
runtime:
  a.out; prof

No change in code needed ;-)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Software doesn't automaticly start up 5 65
I need a software suggestion 4 70
An API detour question 7 79
How do I set up two external hard drives with Acronis True Image? 12 78
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now