| | |
can any one help me about calculating the exact execution time of processor
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
hi,
Can any one help me about clock problem..i need to calculate the exact execution time of algorithm using the processor clock speed not the wall clock time..i am getting zero by using the clock_t function in time.h.also how can i calculate the exact processor speed execution of program..reply me as soon as possible.
Can any one help me about clock problem..i need to calculate the exact execution time of algorithm using the processor clock speed not the wall clock time..i am getting zero by using the clock_t function in time.h.also how can i calculate the exact processor speed execution of program..reply me as soon as possible.
for example #include<stdio.h> #include<time.h> int main() { clock_t start,end; start=clock(); bubblesort(array,arraysize); end=clock(); printf("the clock speed: %f",start-end); getch(); }
Similar Threads
- calculating execution time using clock cycles (C)
- Very Very Urgent...Need Code for Calculating Execution Time For Jsp Page (JSP)
- Execution time(plz Help) (Shell Scripting)
- date time issue in JSP (JSP)
- calculate the execution time of a program (C)
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays asterisks bash binarysearch calculate centimeter char convert copyanyfile copyimagefile copypdffile cprogramme createcopyoffile csyntax directory dynamic fflush file fork frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop initialization interest km lazy linked linkedlist linux linuxsegmentationfault list locate logical_drives match matrix meter microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix power problem probleminc program programming pyramidusingturboccodes read recursion recv repetition scanf scheduling scripting segmentationfault send shape socketprograming spoonfeeding stack standard string strings structures suggestions systemcall test testautomation unix user variable voidmain() wab win32api windows.h




