1
0
cuberite-2a/converter/source/cTimer.cpp
admin@omencraft.com c10ba99d15 fixing svn directory
git-svn-id: http://mc-server.googlecode.com/svn/trunk@58 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 20:13:10 +00:00

10 lines
197 B
C++

#include "cTimer.h"
double cTimer::diffclock(clock_t clock1,clock_t clock2)
{
double diffticks=clock1-clock2;
double diffms=(diffticks*1)/CLOCKS_PER_SEC;
return diffms;
}