摘要: 一般有两个函数的时间分辨率较好: 1.int gettimeofday(struct timeval *restrict tp, void *restrict tzp);成功返回0,不成功返回-1和错误码errno。 例: #include #include #define MILLION 1000000L void function_to_time(void);//要测试的函数 int main(void){ long timedif; struct ... 阅读全文
posted @ 2014-03-31 14:37 M.Bing 阅读(497) 评论(0) 推荐(0) 编辑
摘要: cc1: error: unrecognized command line option “-iquote” 交叉编译libfaad时遇到此错误 解决方法是:修改libfaad文件夹下的Makefile的L199: 修改:199 AM_CFLAGS = -iquote $(top_srcdir)/include 为199 AM_CFLAGS = -I $(top_srcdir)/include 阅读全文
posted @ 2014-03-31 10:20 M.Bing 阅读(772) 评论(0) 推荐(0) 编辑