{I+=codeWee;}
[C++] Measuring Elapsed Time
#include <time.h>



	clock_t startTime = clock();

	for (int n = 0; n < 1000000; n++)
	{
		//..
	}
	clock_t endTime = clock();
	double seconds = (endTime - startTime) / 1000.0f;
	printf("%.5f\n", seconds);
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.