Solved

measure the runtime and compiletime

Posted on 1999-01-11
1
259 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Any free software for printscreens 7 91
Free Alternative to JIRA 4 106
Bulk Reorder File Names 4 67
CPU at 100% usage, why? 27 133
If your app took Google’s lash recently, here are the 5 most likely reasons.
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

809 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