标签: linux取时间函数

Linux下获取时间的函数简介(linux取时间函数)

任何编程语言都需要时间来提供参考,而在Linux下,有几个函数可以为程序提供时间。这些函数包括time()、 gettimeofday()、clock_gettime()、clock_getre……