-wxUsecClock_t wxGetLocalTimeUsec()
-{
-#ifdef HAVE_GETTIMEOFDAY
- struct timeval tv;
- if ( wxGetTimeOfDay(&tv) != -1 )
- {
- wxUsecClock_t val = 1000000L; // usec/sec
- val *= tv.tv_sec;
- return val + tv.tv_usec;
- }
-#endif // HAVE_GETTIMEOFDAY
-
- return wxGetLocalTimeMillis() * 1000L;
-}
-