I was trying to figure out if there is any easy method to convert the CPU cycles obtained in C using rdtsc() function into time in seconds.
ex:-
unsigned long long start, stop; start = rdtsc(); stop = rdtsc(); printf(" CPU CYCLES: %llu\n", b-a); is there any possible way to convert this into time in seconds?