10#if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
12 #pragma comment(lib, "winmm.lib")
22 mTimeStart = getCurrentMilliseconds();
27 return getCurrentMilliseconds() - mTimeStart;
30 unsigned long Timer::getCurrentMilliseconds()
const
32#if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
46 gettimeofday(&now,
nullptr);
47 return (now.tv_sec) * 1000 + (now.tv_usec) / 1000;
unsigned long getMilliseconds() const