Hi,
I have written two algorithms and need to be compare them in terms of how long each take. I have tried clock() before/after each algorithm but my CLOCKS_PER_SEC variable is defined as 1000 which only gives me accuracy upto 1 msec. I have alo tried time() but this is accurate upto 1 sec. I have tried _ftime() and accessed the msec part but again I am not sure if this is accurate. In some cases I am getting same sec/msec values...