25 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
27 # pragma comment(lib, "winmm.lib")
29 # include <sys/time.h>
42 mTimeStart = getCurrentMilliseconds();
47 return getCurrentMilliseconds() - mTimeStart;
50 unsigned long Timer::getCurrentMilliseconds()
52 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
66 gettimeofday(&now, NULL);
67 return (now.tv_sec) * 1000 + (now.tv_usec) / 1000;
unsigned long getMilliseconds()