Files
Legacy-Projects/BlitzMax/Sirius Online Launcher/Clock.c
T

14 lines
256 B
C
Raw Normal View History

#include <brl.mod/blitz.mod/blitz.h>
#include <time.h>
int getClocksPerSecond_() {
return CLOCKS_PER_SEC;
}
int getClock_() {
return (int)clock();
}
int getClockDiff_(int clockStart, int clockEnd) {
return ((clock_t)clockEnd - (clock_t)clockStart);
}