Help with timing of functions
From: William Jones (hawaiiibuc_at_hawaii.rr.com)
Date: 11/22/03
- Next message: Anand Hariharan: "Re: The thorny issue of main's return type (WAS: Top ten errors)"
- Previous message: Richard Heathfield: "Re: Theoretical Problem"
- Next in thread: Mike Wahler: "Re: Help with timing of functions"
- Reply: Mike Wahler: "Re: Help with timing of functions"
- Reply: Anand Hariharan: "Re: Help with timing of functions"
- Reply: Don Kim: "Re: Help with timing of functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 22 Nov 2003 20:52:29 GMT
Aloha everyone,
I'm in an algorithms class and we're studying various sorting algorithms.
what I'd like to do is, using the source code provided by the text book,
provide an analysis of the time elapsed when using an insertion, merge, and
heap sort. What I can't seem to find is the built-in C++ function for
timing the algorithm itself. I think I have to #include<math.h>, but am not
sure. Any help anyone can provide will be greatly appreciated.
Thanks in advance for any replies,
William Jones
- Next message: Anand Hariharan: "Re: The thorny issue of main's return type (WAS: Top ten errors)"
- Previous message: Richard Heathfield: "Re: Theoretical Problem"
- Next in thread: Mike Wahler: "Re: Help with timing of functions"
- Reply: Mike Wahler: "Re: Help with timing of functions"
- Reply: Anand Hariharan: "Re: Help with timing of functions"
- Reply: Don Kim: "Re: Help with timing of functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|