Hey guys I'm writing a program that profiles the speed of different algorithms and I have been using the getTickCount() method in order to do so. However the program is reporting that the algorithm took 0ms. Doesn't have to be too accurate but currently 'RunTime' is coming up as 0.
Code:
{
StartTime = GetTickCount();
quadratic_dll(img); //calls dll containing algorithm.
RunTime = GetTickCount() - StartTime;
lastAlgorithm = "Cubic";
}