struct _timeb tb;
struct timeb tb;
int64_t av_gettime(void){#ifdef CONFIG_WIN32    struct _timeb tb;    _ftime(&tb);    return ((int64_t)tb.time * int64_t_C(1000) + (int64_t)tb.millitm) * int64_t_C(1000);#else    struct timeval tv;    gettimeofday(&tv,NULL);    return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;#endif}