Loading...   


struct timeval read_time;
	// uint32 this_time;
	gettimeofday(&read_time, 0);
	// this_time = read_time.tv_sec * 1000 + read_time.tv_usec / 1000;
	unsigned long time_in_micros = 1000000 * read_time.tv_sec + read_time.tv_usec;
	printf(".%03d \n", time_in_micros); 

Raw Paste Data