I am looking for a way to time how long the execution of a function in my code takes. What is the easiest way to do this. I was told to look at time.h but I cannot find a way to count seconds and I am having some difficulty.
I am not looking for code but simply some suggestions.
Thanks in advance,