put the timer and quicksort functions into their own files. Made a few changes to the converter. Converter doesn't understand Entity tags and some chunks cause it to segfault for a currently unknown reason.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@28 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
9
converter/timer.cpp
Normal file
9
converter/timer.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "timer.h"
|
||||
|
||||
double diffclock(clock_t clock1,clock_t clock2)
|
||||
{
|
||||
double diffticks=clock1-clock2;
|
||||
double diffms=(diffticks*10)/CLOCKS_PER_SEC;
|
||||
return diffms;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user