Find the answer to your Linux question:
Results 1 to 3 of 3
hi I want to know if linux has an instruction for calculating time of compile a program(for example a cpp file)...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2003
    Posts
    3

    time of compile a program


    hi
    I want to know if linux has an instruction for calculating time of compile
    a program(for example a cpp file)

  2. #2
    Linux Newbie
    Join Date
    Aug 2001
    Location
    USA, Texas
    Posts
    217
    you can use the time command.

    time g++ app.cpp
    [ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ];
    /* Don\'t make me use it! */

  3. #3
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Have a look here:
    http://www.acm.uiuc.edu/webmonkeys/b...uide/2.15.html (includes code example).

    But it depends on exactly what your looking for....

    Jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •