m++;
if (m%2==1)
{
points1[0] = points[1];
e1 = getTickCount();
}
else
{
points1[1] = points[1];
e2 = getTickCount();
Time = (e2 - e1) / getTickFrequency();
cout << "time="<<Time << endl;
}
m++;
if (m%2==1)
{
points1[0] = points[1];
e1 = getTickCount();
}
else
{
points1[1] = points[1];
e2 = getTickCount();
Time = (e2 - e1) / getTickFrequency();
cout << "time="<<Time << endl;
}