mxflib/system.h
inline full_time GetTime(void)
	{
		full_time Ret;
		struct timeval	tv;

		gettimeofday(&tv, NULL);

		Ret.time = tv.tv_sec;
		// msBy4 is in units of 0.025 seconds
		Ret.msBy4 = (int)(tv.tv_usec / 4000 + 0.5);	// round to nearest 0.025s unit
		return Ret;
	}
/********* Acurate time *********/
//! Get the current <b>UTC</b> time including number of milliseconds / 4
Acurate time
Get the current UTC time including number of milliseconds / 4
Acurate time Get the current UTC time including number of milliseconds / 4
inline full_time GetTime(void)
	{
		full_time Ret;
		struct timeval	tv;
		gettimeofday(&tv, NULL);
		Ret.time = tv.tv_sec;
		Ret.msBy4 = (int)(tv.tv_usec / 4000 + 0.5);	
		return Ret;
	}
inline full_time GetTime ( void ) { full_time Ret ; struct timeval tv ; gettimeofday ( & tv , NULL ) ; Ret . time = tv . tv_sec ; Ret . msBy4 = ( int ) ( tv . tv_usec / 4000 + 0.5 ) ; return Ret ; }
Acurate time
Get the current <b>UTC</b> time including number of milliseconds / 4
Acurate time Get the current <b > UTC< / b > time including number of milliseconds / 4
// msBy4 is in units of 0.025 seconds // round to nearest 0.025s unit