Execution Time calculation and Seconds calculation:
---------------------------------------------------------
dwStart = timeGetTime();
Processing();
dwStop = timeGetTime();
dwStop - dwStart is a processing time in milliseconds;
long millis = 143789;
long minutes = millis / 60000;
long seconds = (millis % 60000) / 1000;
No comments:
Post a Comment