HI,,,
is there a way to compute the execution time of a function,(i dont know any functions, system calls, debugger, etc..) under linux (i am using Ubuntu8.04).
e.g.In the code below, how to compute the execution time of
myFunc()??
Code:
// Start of code
#include <stdio.h>
void myFunc(void){
printf("Hello World");
}
int main(void)
{
//some work
myFunc();
return 0;
}
// end of code
thanks