Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

measure the runtime and compiletime

How shall i measure the runtime and compile time of a 'c'
program .Could someone send the skeleton of the code...
0
tcsubash
Asked:
tcsubash
1 Solution
 
ahoffmannCommented:
compile time:
  time cc -pg -c file.c
runtime:
  a.out; prof

No change in code needed ;-)

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now