double time;
time = (double)getTickCount();
time = ((double)getTickCount() - time) / getTickFrequency();
cout << time << endl;
double time;
time = (double)getTickCount();
time = ((double)getTickCount() - time) / getTickFrequency();
cout << time << endl;