How to calculate cpu clock cycles in c# / asp.net?

aks

New member
I am working on a project where i have implemented various security algorithms like
RSA,DES,RC2,3DES, MD5,SHA etc... now i want to find out how many cpu clock cycles are required for each algo....so can u please tell me if there is any class in .net to accomplish that.
i am also confused about - stopwatch.tick mean cpu clocks or not.
 
Back
Top