Thread: Calculating execution using difftime

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    1

    Calculating execution using difftime

    Im trying to calculate the time to execute this program in the largest time units possible. Does difftime() run in seconds by default or can u change the units? Also, Im not really sure what currently is the largest time unit and what format it would even print in if we are running a file that usually would have an execution time in seconds?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Largest to what extent? Seconds? Minutes? Hours? Days? Weeks? Months? Years? Just read up on the time and date functions and roll your own if one of those won't suffice.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Execution Time - Rijandael encryption
    By gamer4life687 in forum C++ Programming
    Replies: 5
    Last Post: 09-20-2008, 09:25 PM
  2. Replies: 0
    Last Post: 10-06-2007, 01:25 PM
  3. Calculating : high numbers
    By MiraX33 in forum C++ Programming
    Replies: 9
    Last Post: 06-08-2006, 11:08 PM
  4. Recursion
    By Lionmane in forum C Programming
    Replies: 11
    Last Post: 06-04-2005, 12:00 AM
  5. difftime? i have a ?
    By correlcj in forum C Programming
    Replies: 1
    Last Post: 08-12-2002, 05:55 PM