Wednesday, May 07, 2008

Execution Time calculation and Seconds calculation


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;

Labels:

0 Comments:

Post a Comment

<< Home