I am using time_taken = ((double)t * 1000) / CLOCKS_PER_SEC;
Where
t = clock();
myFunctionToMeasureTimeTaken();
t = clock() - t;
But at best it only give the running time in ms. And that function runs way too fast.
Is there anything I can use to measure in times of micro or even nanosec?
I am using MS Visual Studio 2013