C: duration in nanoseconds

Ask a question+
0

How can I calculate the duration of some action in nanoseconds?

#include 
clock_t clock(void);

The function clock() gives in seconds.

Tigran 1.2K
add comment

0 Answer

Your Answer

how it works
asked
viewed1