13#define _MINIMAL___LOCK(MUTEX) pthread_mutex_lock(&MUTEX);
14#define _MINIMAL_UNLOCK(MUTEX) pthread_mutex_unlock(&MUTEX);
25 gettimeofday(&TimeStamp, NULL);
44 return ((Post.tv_sec - Pre.tv_sec) * 1000000) + (Post.tv_usec - Pre.tv_usec);
51 gettimeofday(&Post, NULL);
52 return ((Post.tv_sec - Pre.tv_sec) * 1000000) + (Post.tv_usec - Pre.tv_usec);
73 std::cos((
float(
M_PI) / 90.0f) * LatitudeInDegrees);
static float GetElapsedMilliseconds(const timeval &Post, const timeval &Pre)
static long GetElapsedMicroseconds(const timeval &Pre)
static timeval GetCurrentTimeStamp()
static float GetElapsedSeconds(const timeval &Post, const timeval &Pre)
static const timeval s_Zero
static long GetElapsedMicroseconds(const timeval &Post, const timeval &Pre)