| | |
to find the execution time of a code
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
>Can anybody suggest the programs or proper API s in Linux.
A profiler would be best. Check your system for the existence of gprof. You can also use a number of methods inside of your code to get execution time and timestamps, something like gettimeofday or rdtsc.
A profiler would be best. Check your system for the existence of gprof. You can also use a number of methods inside of your code to get execution time and timestamps, something like gettimeofday or rdtsc.
Last edited by Narue; Jun 8th, 2007 at 9:49 am.
New members chased away this month: 5
![]() |
Similar Threads
- how to find execution time milliseconds (C)
- Very Very Urgent...Need Code for Calculating Execution Time For Jsp Page (JSP)
- Maximum execution time exceeded. (PHP)
- Execution time(plz Help) (Shell Scripting)
Other Threads in the C Forum
- Previous Thread: When I use a debugger if a have a function i go to assembly-it is not a bug
- Next Thread: Timing programs in C
Views: 3483 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C
#include * .net append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createprocess() database directory drawing dynamic execv feet fgets file floatingpointvalidation fork function functions getlogicaldrivestrin givemetehcodez global grade graphics gtkwinlinux histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list looping loopinsideloop. lowest matrix meter microsoft mqqueue mysql oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power process program programming pyramidusingturboccodes read recursion recv recvblocked reversing segmentationfault single socket socketprogramming spoonfeeding standard strchr string student suggestions system test testing threads unix urboc user whythiscodecausesegmentationfault win32api windowsapi






