#include #include double rtc_() { struct timeval t; gettimeofday(&t, NULL); return (t.tv_sec + (double) t.tv_usec /1000000.0); }