Home > Back-end >  How to obtain C microsecond time?
How to obtain C microsecond time?

Time:11-30

I want to test the speed of the various sorting algorithms, millisecond, merge, fast, etc are all 0 ms hill, so going to set the time control of microsecond, but don't know what to do,

I do it:

Start time record
Sorting start
End time record
End - start=operation time

, please tell me how to do microsecond,

  • Related