查找C程序的执行时间(以微秒为单位)
问题描述:
我必须计算c程序的执行时间,其运行时间以微秒为单位,但是clock(),time()之类的函数只有几秒钟的分辨率,我如何才能以微秒为单位查找执行时间...
请帮帮我...
I have to calculate execution time for my c program, its running time is in microseconds but functions like clock(),time() have resolution of only seconds how can i find execution time in microseconds...
please help me out...