![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
mzr122
这个作者很懒,什么都没留下…
展开
-
C代码计时
#include <stdio.h> #include <time.h> static timespec diff(timespec start, timespec end){ timespec temp; if ((end.tv_nsec - start.tv_nsec) < 0 ){ temp.tv_sec = end.tv_sec - start.tv_sec - 1 ; temp.tv_nsec = 1000000000 + end.tv_nsec - .原创 2021-12-08 17:47:10 · 566 阅读 · 0 评论 -
linux常用命令
1.挂载iso mkdir /mnt/vcdrom mount -o loop -t iso9660 /root/oracle10201_linu.iso /mnt/vcdrom 卸载 umount /root/oracle10201_linu.iso原创 2019-05-07 11:34:08 · 58 阅读 · 0 评论 -
64位linux下编译32位程序
I had to compile a 32-bit application using GNU gcc on the 64-bit version Linux. Luckily gcc man page directed me to -m32 and -m64 option. These options generate code for a 32-bit or 64-bit environme...原创 2019-05-07 11:34:53 · 540 阅读 · 0 评论