10 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC 12 # pragma comment(lib, "winmm.lib") 14 # include <sys/time.h> 27 mTimeStart = getCurrentMilliseconds();
32 return getCurrentMilliseconds() - mTimeStart;
35 unsigned long Timer::getCurrentMilliseconds()
37 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC 51 gettimeofday(&now, NULL);
52 return (now.tv_sec) * 1000 + (now.tv_usec) / 1000;
unsigned long getMilliseconds()