git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6076
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxStopWatch::Start(long t)
{
m_t0 = wxGetLocalTimeMillis() - t;
void wxStopWatch::Start(long t)
{
m_t0 = wxGetLocalTimeMillis() - t;
m_pause = 0;
}
long wxStopWatch::GetElapsedTime() const
{
m_pause = 0;
}
long wxStopWatch::GetElapsedTime() const
{
- return (wxGetLocalTimeMillis() - m_t0).GetLo();
+ return (wxGetLocalTimeMillis() - m_t0).GetLo();
}
long wxStopWatch::Time() const
}
long wxStopWatch::Time() const
struct timeval tp;
if ( wxGetTimeOfDay(&tp, (struct timezone *)NULL) != -1 )
{
struct timeval tp;
if ( wxGetTimeOfDay(&tp, (struct timezone *)NULL) != -1 )
{
return (val + (tp.tv_usec / 1000));
}
#elif defined(HAVE_FTIME)
return (val + (tp.tv_usec / 1000));
}
#elif defined(HAVE_FTIME)