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