How to convert Microsecond value into CPU cycle calculation, anybody know how to convert this ?
In multicore processors and modern architectures, it's not easy to come with a definition of 'spent' CPU cycles associated to a time interval consumed/elapsed in your program (I wonder SQL procedure/query according to your tags), like in the old pre-superscalar architectures.
I recommend you to find other metrics, procedures or special tools for measuring your performance. I'm not an user of SQL Server, but all professional grade DBMS systems offer profiling tools for tuning DB/application performance.
Read this post and the user comments, it's related to the function QueryPerformanceCounter of Windows for approaching some kind of 'cycles' accounting. The discussion lights up why your cycle-based approach is not correct, from my point of view.
https://blogs.msdn.microsoft.com/oldnewthing/20080908-00/?p=20963/