2011年6月3日

Linux下得到毫秒级时间

摘要: C程序: 1 #ifdef HAVE_CONFIG_H 2 #include <config.h> 3 #endif 4 5 #include <stdio.h> 6 #include <stdlib.h> 7 #include <sys/time.h> 8 int main(int argc, char *argv[]) 9 {10 printf("Hello, world!\n");11 struct timeval tvafter,tvpre;12 struct timezone tz;13 int sum = 0; 1 阅读全文

posted @ 2011-06-03 13:03 nwf 阅读(3549) 评论(0) 推荐(0) 编辑

导航