计时函数

普通计时可以clock()

精确计时:windows:QueryPerformanceCounter()

               linux:clock_gettime()

用法:google

参考:

http://blog.csdn.net/pirate_code/article/details/5670055

http://blog.chinaunix.net/uid-25909722-id-2827364.html

posted @ 2013-07-28 21:24  good90  阅读(184)  评论(0编辑  收藏  举报