How to achieve C timing measurements with nanosecond resolution

401 views Asked by At

I am trying to create a timing function to test the initialization speed of a product. I have been trying to use chrono or time.h, but chrono fails in C because it uses C++ standard definitions and all I can find for time.h requires a g++ version running on linux. Does anyone know of a way to get nanosecond resolution timing in C on Windows?

0

There are 0 answers